y=mx+b
m=slope
b= y intercept (when x = 0
y= y value
x=x value
you already have your slope given plug in you x and y values into the equation and reverse the math, like you would do to "solve for X this time B"
you will then get you whole equation