Answer :
Solve for 6 = -4.9t^2 + 14t - 0.4 and you will have 2 positive numbers. First one is when cannonball reach 6 meters and second is when after it starts to fall down to 6 meters. I estimate first number to be 0.5 and the second to be 2.5 so the duration is 2 seconds.