as per the question charlie runs to the store which is 4 km away
hence the total distance covered [S] is 4 km
he takes 30 minutes to reach the store.
hence the total time taken [t] = 30 minutes=0.5 hour
We have to calculate the average speed.
the average speed[v]= 
=
=8 km/hour
then we have to calculate the total distance traveled by charlie in 1 hour.
the distance covered S= 
=8 km/hour ×1 hour
=8 km
Hence the average speed of charlie is 8 km/hour and he covers a distance of 8 km in 1 hour.
Explanation:
Given that,
Bill is riding his bicycle at 5 m/s eastward: and Carlos is driving his car at 15 m/s westward.
Taking eastward as positive direction, we have:
is the velocity of Bill with respect to Amy (which is stationary)
is the velocity of Carlos with respect to Amy.
Bill is moving 5 m/s eastward compared to Amy at rest, so the velocity of Bill's reference frame is

Therefore, Carlos velocity in Bill's reference frame will be

So, the magnitude is 20 m/s and the direction is westward (negative sign).