problem 3 plot