You can put this solution on YOUR website! I just did one like this:
what is the equation of the line that has a slope of 3 and passes through the point (4,-18)?
------------------------
Use y = mx+b to find the y-intercept b
m is the slope
--------------
-18 = 3*4 + b
b = -6
------
--> y = 3x - 6