Ex 7.3: Proposed solution.