Is this in the US or elsewhere? I don't think livestock travels by rail in the US anymore, but autorack cars (that carry automobiles) look similar.
https://upload.wikimedia.org/wikipedia/commons/9/9c/ETTX_905...
https://upload.wikimedia.org/wikipedia/commons/9/9c/ETTX_905...