Input data
Table
1, 6
2, 15
3, 24
4, 33
First of all, remember what the equation of a line is:
y = mx+b
Where:
m is the slope, and
b is the y-intercept
First, let's find what m is, the slope of the line...
[tex]\begin{gathered} m=\frac{y2-y1}{x2-x1} \\ m=\frac{15-6}{2-1} \\ m=\frac{9}{1} \\ m=9 \\ \end{gathered}[/tex]
Now, what about b, the y-intercept?
[tex]\begin{gathered} b=y-mx \\ b=6-9\cdot1 \\ b=6-9 \\ b=-3 \end{gathered}[/tex]
The equation of the line that passes through the points
(1,6) and (2,15)
[tex]y=9x-3[/tex]