Solutions for problems 34, 36 and 37