Can you help me solve this problem using the Pythagorean Theorem

Ahmed has half of a treasure map, which indicates that the treasure is buried in the desert 2x + 6 paces from Castle Rock. Vanessa has the other half of the map. Her half indicates that to find the treasure, one must get to Castle Rock, walk x paces to the north, and then walk 2x + 4 paces to the east. If they share their information, then they can find x and save a lot of digging. What is x?

Let a = x, and b = 2x + 4 so that c = 2x + 6

Thanks for your help