The last two examples are simple machines. See the links for pix.
A pulley isn't a kind of simple machine, it is a simple machine
A train is not a simple machine.
IT's NOT A SIMPLE MACHINE!
its not a simple machine
It is a simple lever.
Rope is not a simple machine on its own, it's a simple machine on a wheel and axle, then it's a pulley.
a compound machine is a combination of simple machines
lever
lever
It's a simple machine.
A lever
wedge is another simple machine kind of lever