solved till problem 2.6