problem 6 solved;