An architect is making a floor plan for a rectangular gymnasium.The distance between opposite corners of the gym will be 30 meters and the width will be 18 meters. What will be the length of the gym?