Well what you want is y = mx + b m = slope b = intercept for y with that just substitute in the slope and the intercept, but leave the x and y as it is. So later on you can put in a x coordinate and get the y coordinate through that, hope this helps!