Let x be the number of times Gerald needs to visit his parents each year; then, the inequality that models the question is
[tex]18000\leq900x\leq34200[/tex]Solving for x,
[tex]\begin{gathered} \Rightarrow\frac{18000}{900}\leq x\leq\frac{34200}{900} \\ \Rightarrow20\leq x\leq38 \\ \Rightarrow x\in\lbrack20,38\rbrack \end{gathered}[/tex]