Try these out, learning how the field lines show where there is a force.
If there is electric current in a coil then there the magnetic field around it is just like a bar magnet. So the same thinking can predict whether pairs of coils will attract or repel.