An oil well being drilled in flat prairie country struck pay sand at an underground spot exactly 21,000 feet from one corner or a rectangular plot of farmland, 18,000 feet from the opposite corner, and 6,000 feet from a third corner. How far is the underground spot from the fourth corner?