Assuming the masses are \(m\) and \(4m\) and they are subjected to the same force \(F\), the acceleration for each will be \(a_1 = \frac{F}{m}\) and \(a_2 = \frac{F}{4m}\) respectively.
The kinetic energy \(K\) achieved by each is given by the expression:
\[
K = \frac{1}{2}mv^2 = \frac{1}{2}m(at)^2
\]
Setting the kinetic energies equal for both times:
\[
\frac{1}{2}m(a_1 t_1)^2 = \frac{1}{2}(4m)(a_2 t_2)^2
\]
\[
m\left(\frac{F}{m} t_1\right)^2 = 4m\left(\frac{F}{4m} t_2\right)^2
\]
\[
\left(\frac{F}{m} t_1\right)^2 = 4\left(\frac{F}{4m} t_2\right)^2
\]
\[
t_1^2 = 4 \times \left(\frac{t_2^2}{4}\right)
\]
\[
t_1^2 = t_2^2
\]
Thus, since \(t_2 = 2 t_1\), the ratio \(\frac{t_2}{t_1}\) is \(2\).