Step 1: Use the second condition.
After one more second (i.e., at \(t=2\) s), the projectile moves horizontally.
Hence,
\[
v_y=u_y-gt=0
\]
\[
u_y=2g=20~\text{m s}^{-1}.
\]
Step 2: Use the first condition.
At \(t=1\) s,
\[
v_x=v_y.
\]
Now,
\[
v_x=u_x,
\]
and
\[
v_y=u_y-g
=20-10
=10~\text{m s}^{-1}.
\]
Therefore,
\[
u_x=10~\text{m s}^{-1}.
\]
Step 3: Calculate the range.
Time of flight:
\[
T=\frac{2u_y}{g}
=\frac{2\times20}{10}
=4~\text{s}.
\]
Range:
\[
R=u_xT
=10\times4
=40~\text{m}.
\]
Thus,
\[
\boxed{R=40~\text{m}}
\]
Hence,
\[
\boxed{(D)}
\]
is the correct answer.