we are given two points
(8,19) and (5,1)
firstly, we need to calculate the slope
slope = y2 - y1 / x2 - x1
from the points
x1 = 8, y1 = 19, x2 = 5, y2 = 1
slope = 1 -19 / 5 - 8
slope = -18/-3
negative will cancel each other
slope = 18/3
slope = 6
slope intercept equation is
y - y1 = m(x - x1)
m = slope = 6
y1 = 19 and x1 = 8
y - 19 = 6(x - 8)
open the parentheses
y - 19 = 6*x - 6*8
y - 19 = 6x - 48
make y the subject of the formula
y = 6x - 48 + 19
y = 6x - 29