Hi, Tiphany! Let's see if this helps:
I'm going to assume you understand what a function is, and that you are being asked to show your answer as a slop-intercept form of a straight line. So, let's get right to the heart of it.
First, we can figure out the slope (m) by imagining two ordered pairs, both being the number of miles driven (x), and the costs (y). Thus, we have two points; (100,35) and (160,44). Using the formula (y2-y1)/(x2-x1), we can plug in our points to garner
the following: (44-35)/(160-100), which comes out to 9/60, or reduced further, 3/20.
Now we have f(x) = 3/20x + b.
b is easy to figure out from here. If we plug in our first mileage (x), we end up with f(x) = 3/20(100) + b, which is f(x) = 15 + b. Because we know the cost for 100 miles is $35, we can deduce b must be 20, as 15 + 20 = 35.
But, let's not take that as gospel yet. Let's test b = 20 when we have 160 miles, to make sure it is correct. So, if we solve f(x) = 3/20(160) + 15, do we get 44? f(x) = 24 + 20; f(x) = 44. Yes we do.
I hope this helped!