x^2 = x^2-1 = x^2-1 = (x-1)(x+1) -x = 1

x-1 x-1

Is this right, please help me solve