Let $f_1$ and $f_2$ be the focal lengths.
Given: $\dfrac{1}{f} = \dfrac{1}{f_1} + \dfrac{1}{f_2}$ and $f = 4~\text{cm}$, $f_1 + f_2 = 18$
Assume $f_1 = 6~\text{cm}, f_2 = 12~\text{cm}$
Check: $\dfrac{1}{6} + \dfrac{1}{12} = \dfrac{2+1}{12} = \dfrac{3}{12} = \dfrac{1}{4} \Rightarrow f = 4$
Thus, lens of low power has longer focal length = $12~\text{cm}$