If you bring the north poles of the two magnets close, they repel each other.
(you; bring; the north poles of the two magnets close) (they; repel; each other)
you they
bring repel
the north poles of the two magnets close
each other