Answer:
See explanation below.
Step-by-step explanation:
The compounds can be polar or nonpolar. The dipolar moment for a nonpolar molecule must be 0. Because of this difference, the compounds have different properties, and the solubility is one of the most affected, polar molecules dissolve polar molecules, and nonpolar molecules dissolve nonpolar molecules.
Hexane is a hydrocarbon, and all the hydrocarbons are nonpolar, so it is a good solvent for nonpolar compounds. Methanol is alcohol, which has the hydroxyl group (OH) so it's a polar molecule and a good solvent for polar compounds.
That's why the both are chosen: hexane removes the nonpolar contaminants, and methanol the polar contaminants.