# How do you write the equation of the line that has a slope of 5 and goes through (6,3)?

Nov 17, 2016

$y = 5 x - 27$

#### Explanation:

The general equation of a straight line is $y = m x + c$
Where m is the gradient or slope of the line.
So the line is $y = 5 x + c$
But this line goes through (6,3) so when x=6, y=3
So $3 = 5 \cdot 6 + c$
$3 = 30 + c$
$c = - 27$
The equation of the line is $y = 5 x - 27$