The formula for calculating total distance is expressed as
Total distance = average speed x total time
From the information given,
total speed = 30 km/h
total time = 1 hour
By substituting these values into the formula,
Total distance = 30 x 1
Total distance = 30 km