ex3_1_1.mod:

Reference:

Solution: