For the final exam in a scuba diving certification course, Karl has to navigate underwater from one point in a lake to another. Karl began the test at the boat and swam due south for 7 meters. He then turned due east and swam for x meters. When he surfaced, he was 25 meters from the boat. What is the value of x ?