Tackling the Mathematics Problem for Chemistry