The equation : y=3x-5
Straight-line equations are mathematical equations that are described in the plane of cartesian coordinates
General formula
y-y1 = m(x-x1)
or
y = mx + c
Where
m = straight-line gradient which is the slope of the line
x1, y1 = the Cartesian coordinate that is crossed by the line
c = constant
The formula for a gradient (m) between 2 points in a line
m = Δy / Δx
[tex]\tt \dfrac{10-1}{5-2}=3[/tex]
[tex]\tt y-1=3(x-2)\\\\y-1=3x-6\\\\y=3x-5[/tex]