Task 3 plot graph