Last year, Alayah ordered 4 cubic yards of soil and spent $220. This year, she orders 7 cubic yards of soil and spends $340. Write the equation of the linear function that models the relationship between the number of cubic yards of soil ordered and the

total cost. Enter your answer in y = mx + 6 form.

1 answer

To find the equation of the linear function, we need to determine the slope (m) and the y-intercept (b).

First, let's find the slope. The slope is the change in cost divided by the change in the number of cubic yards of soil ordered:

m = (340 - 220) / (7 - 4)
m = 120 / 3
m = 40

Next, we can find the y-intercept by substituting the values of m, x, and y into the linear function equation:

220 = 4(40) + b
220 = 160 + b
b = 60

Therefore, the equation of the linear function that models the relationship between the number of cubic yards of soil ordered and the total cost is:

y = 40x + 60