Explanation:
Initially Nima was 80 km away from home and he travelled further. His final position was 150 km away from home. Distance travelled by Nima:


He travelled this distance at a speed of 28 km/hr. We know, speed is the total distance travelled divided by total time taken. Then total time can be calculated by distance travelled / speed of the body.
Time taken by Nima:


~Nima travelled for 5 hours at a speed of 28 km/hr.