exam problem 2 solved