Adding solutions to problem 34, 35 & 36