Problems 12, 13, 14 solutions

solutions to problems 12, 13 ,14