ex2_1_10.mod:

Reference:

Solution: