If the mixture contains only two substances determining percentage of one means you know the composition.
This is rarely the case in normal samples, but you have not explained if it is a theoretical, made up example, or real life problem, and what are assumptions.