Explain the substitution reaction of a primary halogenoalkane with sodium hydroxide.

IB