The birthday cake was made to look like a train.
a cake in the shape of a train with a number two candle
A train cake, apparently for somebody's second birthday.
A cake is in the shape of a train.
This is a birthday cake baked in the shape of a train.