To find the distance between two pedestrians after 3 hours, we can use the formula:
Distance = Speed * Time
a) When they are moving in opposite directions: Distance = (x + y) * 3
Substituting x = 4 km/h and y = 6 km/h: Distance = (4 + 6) * 3 = 30 km
б) When they are moving in the same direction: Distance = (x - y) * 3
Substituting x = 4 km/h and y = 6 km/h: Distance = (4 - 6) * 3 = -6 km
Therefore, the distance between the pedestrians after 3 hours when they are moving in opposite directions is 30 km, and when they are moving in the same direction, it is -6 km.
