Reflection at the concave mirror (u=−15 cm, f=−10 cm):
v1=f1−u1=−101+151=−301⇒v=−30 cm
A real image I1 forms 30 cm in front of the concave mirror, that is, 40−30=10 cm in front of the convex mirror.
Reflection at the convex mirror (I1 is its object, u=−10 cm, f=+20 cm):
v1=201+101=203⇒v=+6.67 cm
The final image is virtual, 6.67 cm behind the convex mirror.

The overall magnification is (−−15−30)(−−106.67)=(−2)(0.67)=−1.33, so the final image is inverted and 1.33 times the size of O.