Text this: Determining concentrations of components of a mixture