Solved problems 5,6