Find the length of the line segment AP given that AB = 38 and PB = 27.
A. 12
B. 22
C. 65
D. 11
