The length of the line joining points (x,4) and (-x,3) is 7 units. Find the…