In the lens displacement method,
\[
m_1=\frac{v_1}{u_1},
\qquad
m_2=\frac{v_2}{u_2},
\]
and the two magnifications satisfy
\[
m_1m_2=1.
\]
Hence,
\[
\left(\frac{h_{i1}}{h_o}\right)
\left(\frac{h_{i2}}{h_o}\right)=1.
\]
This provides a quick way to determine the object height.