Solve problems 16-20