Label point P: (as it lies on the x-axis).

Making use of the distance formula between two points:

You are given that: . So simply solve for x:

(Moved one of the radicals to one side)

(Squared both sides)

(Expanded)

(Simplified)

(Square again)

etc. etc.