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 500 miles at 28 miles per hour, determine how many barrels of oil are used when the ship travels 280 miles at 14 miles per hour.