The amount of oil used by a ship traveling at a uniform speed varies jointly with the distance and the square of the speed. If the ship uses 200 barrels of oil in traveling 200 miles at 36 miles per hour, determine how many barrels of oil are used when the ship travels 360 miles at 18 miles per hour.​