Solve problems 31-36