A particle moves from A to P and then it moves from P to B as shown in the figure. Find path length and displacement.