I mis-read the question and therefore made the following wrong answer. I decided to leave it on because it would be a waste if I have it deleted. The corrected version is appended at the end. Read on.
Let a, b, c be the sides of the given right angled triangle ABC.

$AM = BM = \dfrac {a}{2}$.
Similarly, $AN = \dfrac {\sqrt {(c – 5)^2 + (b – 9)^2}}{2}$
$\angle MAN = \angle MAB - \angle NAE = \tan^{-1} (\dfrac {b}{c}) - \tan^{-1} (\dfrac { b - 9}{c - 5})$
By cosine law, MN is an expression in a, b, and c showing that MN is a constant.
(Corrected version)
Through M, draw line ‘p’ parallel to AC and draw ‘x’ parallel to AB. ‘q’, and ‘y’ are similarly drawn.

Form the parallelogram BENB’ where B’ is a point on ‘y’. Parallelogram NDCC’ is similarly drawn.
Draw ‘r’ and ‘z’ as shown. Let K be the point of their intersection. Then B’NC’K is a rectangle with NK as its diagonal and M happens to be its midpoint. (See the proof shown on the far left.)
Therefore, $NM = \dfrac {NK}{2} = …. = \dfrac {\sqrt {9^2 + 5^2}}{2}$.