Answer :

acceleration = (final velocity - initial velocity)/ time taken 
so, time taken =  (final velocity - initial velocity)/ acceleration
= (22-8)/3 = 4.67 seconds