Write an equation in slope-intercept form of the line that passes through (7, 2)(7, 2) and (2, 12)(2, 12).

\(\text{two points }(7,2),~(2,12)\\ \text{the slope of a line segment joining them is given by}\\ m = \dfrac{2-12}{7-2} = \dfrac{-10}{5}=-2\\ \text{use point slope form with the first point}\\ (y-2) = -2(x-7)\\ y = -2x + 16 \)

(7,2) and (2,12)

Find the slope = m = [ 12 -2] / [ 2 - 7 ] = 10 / -5 = -2

Using either point we have - I'll use (7, 2) - we have

y = m (x - 7) + 2

y = -2(x - 7) + 2 simplify

y = -2x + 14 + 2

y = -2x + 16