try plugging in 2 for x and you will see that it does not work:
I have attached a graph, where it is evident that the answers are
x = 1 and x = 3
It is difficult to see on the one I have attached but graph it yourself and trace the line and you will see. Remember always check your answers by plugging them back into the equation.