A motorboat can travel upstream on a river at 18km/h and downstream at 30km/h. How far upsteam can the boat travel if it leaves at 8am and must return by noon?