Ax=100%
C(x-1)=100%
A+4B=100%
A+B+C=100%
It's a system composed of four unknowns. Eventually you'll come up with this equation: -3A^2+1000A-30000=0; which will lead you to two possible results: A=33,333 or A=300, if you want B to be positive, you'll use A=33,333, then B will be 16,667 and C=50.