Two circles are externally tangent at T. The line AB is a common external tangent to the two circles, and P is the foot of the altitude from T to line AB. Find the length AB.