The perimeter of triangle RXA is 39, PX=4 and AP=9.Find RX and RA. 

P is at the middle. 
I think it's under triangle bisector theorem. Help me answer this guys. Thanks