An industrial mining plant processes crushed ore containing a mixture of quartz (non-magnetic) and magnetite (magnetic).
The mixture is transported along a moving conveyor belt which wraps around a magnetized pulley at the discharge end, as shown in the diagram.

Explain how this system separates the quartz from the magnetite.