solutions to 15, 16, and 17