Solved problems 3,4