A 2.4 kg toy locomotive is pulling a 1.6 kg caboose. The frictional force of the track on the caboose is 0.54 N backward along the track. If the train is accelerating forward at 3 m/s2, what is the magnitude of the force exerted by the locomotive on the caboose?