It's been far too long since I've picked up my maths books.

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 240 km/h for the outward trip and 320 km/h for the return trip. If the plane was away for 35 minutes, find the distance, x km.