divide total paid by number of pencils for price of 1 pencil
4.50 / 18 = 0.25 for 1
so you would put a dot at (1, 0.25) (2,0.5) (3,0.75) etc and draw a line through the dots
see attached picture: