Solve problems 29-30