Answer:
Train A: 414 tons
Train B: 96 tons
Step-by-step explanation:
Let Train A's weight be represented by the variable A and Train B's weight be represented by the variable B.
A + B = 510
A - B = 318
Solve this system by adding both equations together.
A + B + A - B = 510 + 318
2A = 828
A = 414
Plug this into A + B = 510
414 + B = 510
B = 96
Thus, the weight of Train A is 414 tons and the weight of Train B is 96 tons.