A bee flies at 15 feet per second directly to a flowerbed from its hive. The bee stays at the flowerbed for 16 minutes, and then flies directly back to the hive at 12 feet per second. It is away from the hive for a total of 18 minutes. Whats the distance?