In Atwood's machine, two masses 3 kg and 5 kg are connected by a light string which passes over a frictionless pulley. The support of the pulley is attached to the ceiling of a compartment of a train. If the train moves in a horizontal direction with a constant acceleration 8 ms−2, the tension in the string in N is (g=10ms−2):