problem 2 linegraph work