The temporarily magnetic metal repels the magnet that is making it magnetic.
(The temporarily magnetic metal; repels; the magnet that is making it magnetic) (the magnet; is making; it magnetic)
The temporarily magnetic metal the magnet
repels is making
the magnet that is making it magnetic
it magnetic