step: a mixture of iron and sand is a mixture of magnetic and nonmagnetic material & magnet can be used for separating a magnetic material from a mixture of a magnetic and nonmagnetic material
inference: a magnet can be used to separate iron from sand