For the first planoconvex lens in air:
μg=1.5,μair=1,R1=2 cm,R2=∞
f11=(1.5−1)(21−∞1)⟹f11=0.5×21=41 cm−1⟹f1=4 cm
For the second planoconvex lens in liquid:
μg=1.5,μl=1.2,R3=3 cm,R4=∞
f21=(1.21.5−1)(31−∞1)⟹f21=(1.25−1)×31=0.25×31=121 cm−1⟹f2=12 cm
Ratio of focal lengths:
f2f1=124=31