Which equation represents the table? X|-1|0|1|. Y|15|18|21|. A.y=18x+3. B.y=-3x+8. C.y=-3x+18. D.y=1/3x+18.

The equation for the x (-1,0,1) and y (15,18,21) is y=3x+18, which is mentioned option B, this equation represent all the table values.
Step-by-step explanation:
The given values are,
x ( -1,0,1 )
y ( 15,18,21 )
Step:1
Check the values for Equation, [tex]y=18x+3[/tex]
Substitute x = -1 and y = 15
15 = ( 18 × -1 ) + 3
15 = ( - 18 +3 )
15 ≠ -15..........( option A not represent)
Check for values for Equation,[tex]y=3x+18[/tex]
Substitute x =-1 and y = 15
15 = ( 3 × -1 ) +18
15 = 15.............( option B represent the values)
Substitute next table values, x= 0 and y =18
18 = ( 3 × 0 ) + 18
18 = 18.............( option B represent the values)
Substitute the next table values, x=1 and y = 21
21 = ( 3 × 1 ) + 18
21 = 21.............( option B represent the values)
Check for the equation, [tex]y=-3x +18[/tex]
Substitute the x=-1, y =15
15 = ( -3 × -1 ) + 18
15 ≠ 21..........( option C not represent)
Substitute the next table values
Check for the equation, [tex]y= \frac{1}{3} x+18[/tex]
Substitute the x=0, y=15
15 = ([tex]\frac{1}{3}[/tex] × -1 ) + 18
15 ≠ 17.6667..........( option D not represent)
Result:
The equation for the x (-1,0,1) and y (15,18,21) is y=3x+18, this equation represent all the table values.