Concept:For a convex lens producing a virtual image, the image is erect and magnified, but the image distance is taken as negative in the lens formula.Explanation:Object distance, u=10 cm.Magnification, M=3, so ∣v∣=3u=3×10=30 cm.Since the image is virtual and lies on the same side as the object, v=−30 cm under the real-is-positive sign convention.Using the lens formula: f1=u1+v1.f1=101+−301=101−301.f1=303−1=302.Therefore, f=230=15 cm.Answer:D. 15 cm