Two magnets will be attracted by their opposite poles, and each will repel the like pole of the other magnet.
(Two magnets; will be attracted; by their opposite poles) (each; will repel; the like pole of the other magnet)
Two magnets each
will be attracted will repel
by their opposite poles
the like pole of the other magnet