Triangle ABC has sides AB = 8, BC = 7, and AC = 9.
The segments AB and AC are extended and a circle O is constructed exterior to the triangle and is tangent to BC at D and the extended lines through AC and AB at N and M, as shown.
What is the radius of circle O?