Solution to problem 46.
Solution to problem 47.