EXPLANATION
Given the point (-6,1) and the slope 5, we can write the generic line equation as shown as follows:
y=mx + b
where m is the slope and b is the y-intercept
Replacing terms:
y=5x + b
Now, substituting the point (-6,1) on the line equation:
1 = 5(-1) + b
Multiplying terms:
1= -5 + b
Switching sides
b -5 = 1
Adding +5 to both sides:
b= 1 + 5
Adding numbers:
b=6
So, the equation is
y=5x + 6