Hi ! Glad I've found this forum. I've been having a headache with this question.

Find the length of the common external tangent to two circles of radii 5 cm and 12 cm, respectively if the distance between their centers is 25 cm.

According to the textbook, the answer is 24 cm. I am getting an answer of 27 by basic trigo functions. Can any genius out there solve this ?