Diagram illustrating the distances between a ship, lighthouse, and Coastguard forming a right triangle.
A diagram showing a ship 500 yards from a lighthouse, with a 400-yard distance from the lighthouse to the Coastguard, forming a right triangle with the unknown distance x between the ship and the Coastguard.