Answer
The horizontal component of the initial velocity is $~~20~m/s$
Work Step by Step
We can find the horizontal component of the initial velocity:
$x = v_x~t$
$v_x = \frac{x}{t}$
$v_x = \frac{40~m}{2.0~s}$
$v_x = 20~m/s$
The horizontal component of the initial velocity is $~~20~m/s$