Elementary Geometry for College Students (6th Edition)

$y = -(b/a)x+ \frac{(gb+ah)}{a}$
If the line is perpendicular to the line with slope a/b, then it must have slope -b/a. Using point slope form, we see: $y-h = -b/a(x-g)$ $y = -(b/a)x+(gb/a)+h$ Thus, the slope intercept form is: $y = -(b/a)x+ \frac{(gb+ah)}{a}$