If I have the equality $(x + 1)(x - 1) = \dfrac{-n}{m}(x - 1)$, where $m \not = 0$ and $x \in \mathbb{Z}^+$, is it an invalid operation to divide both sides by $(x - 1)$? Since $(x - 1)$ has the potential to equal $0$ if $x = 1$, it seems like it should be an invalid operation?
I would greatly appreciate it if people could please take the time to clarify this.