Last year Alayah ordered four cubic yards of soil and spent $220 this year she ordered seven 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 + b form

1 answer

The cost function can be represented as:

y = Mx + b

Given data:
(4, 220) and (7, 340)

To find the slope (M):
M = (340-220) / (7-4)
M = 120 / 3
M = 40

Using one of the points to find the y-intercept (b):

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

Therefore, the linear function in y = Mx + b form is:
y = 40x + 60