The only quantity that's unambiguously determined is the positive difference of the x coordinates,

|x2 - x1| = +Sqr[d2 - (y2 - y1)2]
where the vertical bars mean absolute value.

You can't even say whether x2 > x1 or x2 < x1