Finished problems 5-7