ex2_1_5.mod:

Reference:

Solution: