solved till problem 1.4