Which equation gives the rule for this table?

Answer: [tex]y=x-3[/tex]
Step-by-step explanation:
The equation of the line in Slope-Intercept form is:
[tex]y=mx+b[/tex]
Where "m" is the slope and "b" is the y-intercept.
The first step is to choose two points from the table. These can be;
(5,2) and (8,5).
You can say that:
[tex]y_2=5\\y_1=2\\\\x_2=8\\x_1=5[/tex]
Now you must substitute values into the formula [tex]m=\frac{y_2-y_1}{x_2-x_1}[/tex]:
[tex]m=\frac{5-2}{8-5}=\frac{3}{3}=1[/tex]
Substitute the slope and the coordinates of any point from the table into [tex]y=mx+b[/tex] and solve for "b":
[tex]2=(1)(5)+b\\\\2-5=b\\\\b=-3[/tex]
Therefore, the equation that gives the rule for the table is:
[tex]y=x-3[/tex]