Solution to problem P61A
Solution to P62