In this case we have u=5i and a=−4j
Substituting these into the equation v=u+at gives the velocity of the ball at time t=4 s as:
v=5i+(−4j)4
which gives
v=5i−16j ms-1