I was able to come until here by myself $$\frac{1}{f}=\frac{1}{u}+\frac{1}{v}$$ differentiating both sides wrt time $$0=-\frac{du}{dt* u^2}-\frac{dv}{dt*v^2}$$ so we have from this $$\frac{du}{dt* u^2}=-\frac{dv}{dt*v^2}$$ setting $\frac{du}{dt}$=$v_o$ and $\frac{dv}{dt}=v_i$ we get $$\frac{v_o}{v_i}-m^2$$ where m is the magnification however, my teacher has somehow done everything the same until here and then randomly said $$V_{im}=-m^2v_{om}$$ where $V_{im}$ is the image velocity with respect to the mirror and $V_{om}$ is the velocity of the object wrt the mirror
I'm unable to make sense of this, becasue in the derivation, the mirror is stationary. Could someone help?