Write an equation of a line that passes through the two given points. Your answer should be written in slope-intercept form.

P(6, 0), Q(7, −6)

The equation of a line passing through two points ( x1, y1 ) and ( x2 , y2 ) is:

y - y1 = ( y2 - y1 ) ( x - x1 ) / ( x2 - x1 )

In this case:

x1 = x coordinate of point P

x1 = 6

y1 = y coordinate of point P

y1 = 0

x2 = x coordinate of point Q

x2 = 7

y2 = y coordinate of point Q

y2 = - 6

So:

y - y1 = ( y2 - y1 ) ( x - x1 ) / ( x2 - x1 )

y - 0 = ( - 6 - 0 ) ( x - 6 ) / ( 7 - 6 )

y = - 6 ( x - 6 ) / 1

y = - 6 x + 36