You can put this solution on YOUR website! y=mx+b [Slope-intercept equation of a line]
m=(y-y2)/(x-x2) [Formula for the slope of a line]
(1,6),(3,0) [Coordinate points]
.
m=(0-6)/(3-1)=-6/2=-3
.
y=mx+b [plug-in the values of one point and the slope]
0=(-3)(3)+b [Solve for b]
0=-9+b
9=b
.
y=-3x+9 [Plug-in the values of the slope and y-intercept for the slope-intercept form of the line.]
.
Check by pluggin in the values for the second points.
(1, 6)
6=-3(1)+9
6=-3+9
6=6 [Checks out]
.