An artillery expert fires a cannonball at an angle of 36.87o at an enemy encampment sitting on a plateau 40 m high and 300 m horizontally from the cannon. Assuming the cannonball makes a direct hit,
a) How long was the cannonball in the air?
b) With what speed was the cannonball launched?