Rahul walks $ 12 m$ north from his house and turns west to walk $ 35 m$ to reach his friend’s house. While returning, he walks diagonally from his friend’s house to reach back to his house. What distance did he walk while returning?
As we can see from diagram that Rahul's house is located at point P.
While returning to his home he is following the path RP.
Here
RP is the diagonal of the right-angle triangle PQR.
In triangle PQR
PQ
QR
Using Pythagoras theorem
Hence, he needs to walk while returning from his friend's house.