How can u divide with x-1 on both the sides until and unless you have mentioned any condition like x is not equal to 1...so You need to mention a prior condition before that...