Given, lens combination and position of object is as shown below
For first lens, u=−30cm,f=10cm By lens formula, v1−u1=f1 ⇒v1=f1+u1 ⇒v1=101−301=303−1 ⇒v1=151 or v=15cm
Now, image of first lens acts like object for second lens.
For second lens. u=+10cm,f=−10cm
Again, using lens formula, v1=f1+u1=−101+101 ⇒v1=0 or v=∞
This means light rays becomes parallel after refraction from the second lens.
When these parallel light rays passes through third lens, their image is formed at focus. Hence, distance of image from third lens is 30cm.