In the post made 2 yrs ago 'Explain why perpendicular lines have negative slopes', Explain why perpendicular lines have negative reciprocal slopes
How does the distance formula get applied to obtain
$$ \frac{(c-b)}{(m-n)}\sqrt{(1+m^2)}$$ for the distance between $$(\frac{(c-b)}{(m-n)},\frac{m(c-b)}{m-n)} +b) $$ to $$(0,b)$$
The distance formula (general form) has the $\sqrt{(1+m^2)}$ term in the denominator.
i.e. $$ \frac{ax + by +c}{\sqrt{(a^2 + b^2)}}$$ yet the answer has the $\sqrt{(1+m^2)}$ term in the numerator.
The distance formula you state gives the distance from a point $(x, y)$ to the line with equation $ax + by + c = 0$.
The distance formula you ask about is the diatance between two points $(x_{1}, y_{1})$ and $(x_{2}, y_{2})$, which is usually expressed $$ \sqrt{(x_{2} - x_{1})^{2} + (y_{2} - y_{1})^{2}}. \tag{1} $$ For the points $$ (x_{1}, y_{1}) = (0, b),\qquad (x_{2}, y_{2}) = \left(\frac{c - b}{m - n}, \frac{m(c - b)}{m - n} + b\right) $$ in question, $$ (x_{2} - x_{1}, y_{2} - y_{1}) = \left(\frac{c - b}{m - n}, \frac{m(c - b)}{m - n}\right) = \frac{c - b}{m - n} (1, m). $$ The distance formula (1) gives $$ \left|\frac{c - b}{m - n}\right| \sqrt{1 + m^{2}}. $$