To remember this formula easily, notice that the lines are perpendicular when $a + b = 0 \implies a = -b$. If $a = -b$, the denominator of our answer becomes $-b - b = -2b$, making the whole tangent expression reduce to $-\frac{h}{b}$. Keeping trace configurations in mind helps verify algebraic structures quickly!