The equation in the question is not correct, assuming the wording of the question is correct. It should be
2/x - x = -23/5
Can you solve for x and finish from here? Hint: Multiply both sides by 5x, get a quadratic equation in x, solve it, and keep only the positive root.