Let L1 be the first lens and L2 be the second lens.
The first refraction is in L1.
Using lens formula,
u1=∞,f1=20cm,v11−0=f11⇒v1=20cm
Hence, the distance between the second image and the L2 would be (60−20)=40cm.
For the second lens L2,
u2=−40cm,f2=20cm,v21−u21=f21⇒v21+401=201⇒v21=401⇒v2=40cm
So, the distance of image from first lens is
x=40cm+60cm
=100cm