Given that the distance between A(-5,-2) and B(x,-2) is 6 un