We know that velocity = distance / time.
So time = distance / velocity.
So
An aircraft, used for fire spotting, flies from its base to locate a fire at an unknown distance, x km away. It travels straight to the fire and back, averaging 240km/h for the outward trip and 320km/h for the return trip. If the plane was away for 35 minutes, find the distance, x km.