Exercise Q11 to Q21a Solved.