>>7626698If you are having problems algebraically solving this, the reason may be because you are trying to substitute a (a+b) value into another (a+b) value. Substitution by this method will not yield a single solution because each of your first two equations has many pairs of solutions (a,b), and some of them happen to sum to the same amount, leading to many inconsistent pairs of a and b in the post substitution equation in addition to the correct solution. To solve it algebraically, you would have to make formulas for b explicitly in terms of a, or of a explicitly in terms of b.