Jon P. answered 01/27/15
Tutor
5.0
(173)
Knowledgeable Math, Science, SAT, ACT tutor - Harvard honors grad
If you think of x as the number of caps and y and the cost, then this is just like asking to find the line that goes through the two points (200, 2680) and (500, 3500).
The slope of the line is the cost per hat, and the y-intercept is the fixed initial cost.
So the slope is (3500 - 2680) / (500 - 200) = 820 / 300 = 41/15.
So using the usual way to find the y-intercept, you have y = 41/15 x + b.
Pick one of the points to find b:
3500 = (41/15) * 500 + b
3500 - (41/15) * 500 = b
2133.33 = b
Rounding 41/15 gives the cost per hat of $2.73
So the cost equation is y = 2.73 x + 2133.33