Find x if the distance between the points (x,2)and(3,4)be √8units

Kavitha A's image