Answer to problem 12