convert the given equation to the y = mx + b standard format. m is slope, and b is the y-intercept.
the distance to the given point is along a line perpendicular to the given line. The slope will be the "negative reciprocal" of the slope for the given line. (eg if the slope is 2, the "distance line" will have a slope of -1/2)
Use the new slope and the given point to solve the standard equation for b