Hi Devon. Let me show you a very similar program and how I solve it. Then you can do the same process with your question.
Problem: A bus company took a tour bus on the ferry when there were 30 people aboard. The ferry charged the bus company $180. The following week, the bus had 50 people on board and the ferry charged them $220. How much is the "base rate" for the empty bus? How much does each person cost? Show this using y = mx + b form.
Then, when there are 30 people on the bus (x = 30), the cost was $180 (y = 180). This means the point (x, y) = (30, 180).
You see - we have two points and so we can write the equation of a line that goes through those points. The first thing we have to do is find the slope.
The slope of the line joining two points is the rise divided by the run. That means
m = (y2 - y1) / (x2 - x1)
So we put in the values of (30, 180) and (50, 220):
m = (220 - 180) / (50 - 30)
The slope is 2. Now we can write it in the form y = mx + b, using 2 for m:
y = 2x + b.
This equation connects both points, so that means it goes through those points. We want to know "b" next, so we can now substitute in either point for the x and the y. I will substitute in x = 50 and y = 220:
220 = 2(50) + b
Now I know the b and the m, so I can finally write the full y=mx + b form of the equation:
y = 2x + 120.
For the other questions, I can look at the equation I got. The y-intercept (b value) is $120. That means that we are adding $120 on to the price all the time. That's the price for the empty bus. The 2x means to multiply the number of people by two and add this to the $120. So each person is $2.
Here's an example: if you had just 10 people on the bus, you'd pay $120 for the empty bus and $2 for each person. That's $20 for the people and $120 for the bus. That total is $140. Let's see if (10, 140) works in the equation we got:
y = 2x + 120
Now you try it with your question.
Hope this example helps,
Math Central is supported by the University of Regina and The Pacific Institute for the Mathematical Sciences.