Your choice (distillation) is

But before doing distillation, we need to remove inorganic impurities and water.

You have shaken the organic solution with aqueous solutions of inorganic acid or base. This allowed small amounts of inorganic acid/base and water to stay in the organic layer.

First, let's wash* the organic solution to remove inorganic impurities.

Which liquid will you use?

methanol
brine (saturated NaCl)
water

Organic Web Chem University of Alberta