Notify the sender of the damage, and ask to have a replacement sent.
Damage in shipment is a big problem these days, and can be traced to the tight fitting styrofoam packaging. The styrofoam cradles the trains nice, especially the locomotives, but it does not shield the contents well from handling. It transmits handling shocks to the contents, thus the damage. Probably the best packaging would be to bubble wrap each piece.
Larry