Since ΔABC is a right triangle, we can use the Pythagorean theorem to find the missing side, BC as shown below.
Now, since AN is an altitude formed along BC, we can form two smaller triangles that are both similar with ΔABC.
(An image is attached along the file to show the illustrations of the triangles with the larger one.)
Thus, we have ΔNBA~ΔABC and ΔNAC~ΔABC. So, for ΔNBA and ΔABC, we have
and applying the same process with AN, we have
We can also use the same method to find the missing sides in ΔANC. But, we can immediately find the value of NC as shown.
Since ΔANC is a right triangle and two given lengths, we can find the third side, AN, through Pythagorean theorem.
Thus, we have found all the missing sides. The picture attached also shows the missing sides' lengths in red.
Answer: BC = 25, BN = 16, NC = 9, and AN = 12