If the magnets fly away from each other, the poles must be the same because like repels like.
(the magnets; fly; away from each other) (the poles; must be; the same; because like repels like) (repels; like; )
the magnets the poles repels
fly must be like
away from each other
the same because like repels like