Step 1: Count each contribution for the monatomic gas.
A single atom can only move along three independent directions, so it has purely translational motion, $f_{mono}=3$.
Step 2: Count each contribution for the nonlinear polyatomic gas separately.
It has $3$ translational degrees of freedom (moving as a whole) plus $3$ rotational degrees of freedom (spinning about three independent axes, since it is nonlinear), plus each vibrational mode contributes $2$ degrees of freedom (one for kinetic energy, one for potential energy of the vibration). With $2$ such modes, that gives $2\times2=4$.
Step 3: Add these up. \[ f_{poly} = 3+3+4 = 10 \]
Step 4: Form the ratio. \[ \boxed{f_{mono}:f_{poly} = 3:10} \]