The distance walked by Pepito is 5.83 m
How to find how much he walked
The scalar showing how much he walked is solved using Pythagoras theorem. Since the distance walked is represented by a right triangle
distance walked² = 3² + 5²
distance walked² = 9 + 25
distance walked² = 34
distance walked = √34
distance walked = 5.83 m