It is known that in △ ABC, M is the midpoint of BC side, AP is the bisector of ∠ a, BP ⊥ AP is at P, ab = 12, AC = 22, find the length of MP

It is known that in △ ABC, M is the midpoint of BC side, AP is the bisector of ∠ a, BP ⊥ AP is at P, ab = 12, AC = 22, find the length of MP

MP=5