Newton's 2nd Law

A 5-kg block is sliding along a frictionless surface due to a constant force P = 20 N. At what time (in seconds) will the block be moving at 18 m/s?

$$$Force=mass\times acceleration$$$
Hint 2
$$$velocity=acceleration \times time$$$
Using Newton’s second law of motion:
$$$Force=mass\times acceleration\rightarrow a=\frac{F}{m}$$$
$$$velocity=acceleration \times time\rightarrow t=\frac{v}{a}$$$
4.5 seconds