An optical system consists of two convergent lenses with focal lengths f1=20 cm and f2=10 cm. The distance between the lenses is d=30 cm. An object is placed at a distance of 30 cm from the first lens. At what distance from the second lens will the image be obtained?