Work Step by Step
If you plug in the data with the y-axis as the cost and on the x-axis is the number of pencils. The graph shows a straight line and the values follows a set of rules. So it would be linear. n goes up by +6 each time and the cost by +$1 each time.