solved problems 38,39,41