Two trains, train A and train B, weigh a total of 485 tons. Train A is heavier than train B. The difference of their weights is 303 tons. What is the weight of each train
a + b = 485 or b = 485 - a
a-b = 303
a - (485-a) = 303
2a = 303 + 485
a = 394 ton
b = 485-a
b = 91 tons