Since rays are coming from infinity
For first image
1/u + 1/v = 1/f
f = 20cm
u > 2f therefore infinity
1/v = 1/20
v = 20cm
for second mirror is placed it can be
1/u + 1/v = 1/f
u = 30cm = infinity since greater than 2f
f = 12cm
therefore 1/v = 1/12 + 1/30
v = 17cmagain applying the lens formula for the lenses
1/v - 1/u = 1/f
u = 30cm
f = 20cm
v = 46.6cm to the left of the lens.