An airplane is flying at an altitude of 10,000m. The pilot sees two ships A and B. Ship A is due south of P and 22.5km away (in a direct line).Likewise ship B is due East and 40.8km from P. Find the distance between the two ships.