# How do you write the equation of the line that passes through the points P(8, -1), Q(0, -7)?

Apr 3, 2015

The answer is: $y = \frac{6}{8} x - 7$

First, we need to find the slope of the line. Slope can be found as:

$m = \frac{{y}_{1} - {y}_{2}}{{x}_{1} - {x}_{2}}$

$m = \frac{- 1 - \left(- 7\right)}{8 - 0} = \frac{6}{8}$

So our incomplete line equation is:

$y = \frac{6}{8} x + n$

Lets plug one the points to the equation to find the value of $n$

I will plug $P$

$- 1 = \frac{6}{8} \cdot 8 + n$

$- 1 = 6 + n$

$n = - 7$

So the line equation is:

$y = \frac{6}{8} x - 7$