solutions to 3, 10, 12