In the given figure, the image of object AB observed by observer is
Object shiftness
The image of AB is due to refraction through slab, which is shifted 5 cm from AB. The size of is same as that of AB.
Behaves as object for the lens.
For convex lens, behaves as object.
For lens,
or
Or
Or
Thus, final image is real, inverted, 1 cm in length and is 30 cm from the lens.