\(V_A=\frac{-45 \times(-20)}{-45-(-20)}=\frac{-900}{25}=-36\,cm\)
\(\text { And } U_B=-35\,cm\)
\(\therefore V_B=\frac{-35 \times(-20)}{-35-(-20)}=\frac{700}{-15}\)
\(\therefore V_A-V_B=\text { length of image }\)
\(=\left(-36+\frac{140}{3}\right)\,cm\)
\(=\frac{-108+140}{3}\,cm\)
\(=\frac{32}{3}\,cm\)
\(\therefore x=32\)