Ignoring lens 2 and taking p1 = 18 cm we get
Thus, lens 1 produces a real inverted magnified image, which is to the right of lens 2. Now ignoring lens 1 and taking p2 = -(36 cm-22 cm)= -14 cm we get
Thus, the system produces a real inverted magnified image 24.89 cm to the right of lens 2 with height = (3.55)(2.4 cm) = 8.53 cm.