as i was science student i know that there is rule about it
when you multiply by something in only one side then you "have to" divide by it on a same side OR you have to multiply by that one in both side
like if X=Y then you can multiply like this X= X*Y/X or X*X=X*Y
tell me if i am wrong