With the coordinates of (2,10)(4,20)(6,30) on a graph first numbers being the number of sub's on the x axis, and the second number being the cost of the sub's on the y axis. What is the slope-intercept equation for the cost of a sub at Fred's Sub Shop?

A.y=2x
B.y=10x
C.y=5x
D.y=5x+2
Would the answer be D??

Nope

It's C because $5 for 1 sub .. so

y=5x

for 1 it's $5
for 2 it's $10
and on and on.

Thank you so much😀

To determine the slope-intercept equation for the cost of a sub at Fred's Sub Shop, we need to find the equation in the form y = mx + b, where m represents the slope and b represents the y-intercept.

Given the coordinates (2,10), (4,20), and (6,30), we can calculate the slope using the formula:

m = (y₂ - y₁) / (x₂ - x₁)

Using the coordinates (2,10) and (4,20):
m = (20 - 10) / (4 - 2)
m = 10 / 2
m = 5

Now that we have the slope (m=5), we still need to find the y-intercept (b). We can choose any of the given points to substitute into the equation (except for (2,10) since we already used it to calculate the slope).

Let's use the point (4,20):

y = mx + b
20 = 5(4) + b
20 = 20 + b
20 - 20 = b
b = 0

Therefore, the slope-intercept equation for the cost of a sub at Fred's Sub Shop is y = 5x + 0, or simply y = 5x.

So, the correct answer is option B: y = 10x.