You can certainly prove that an algorithm for solving problems like this works in general.
Okay, so first let's reformulate your problem:
If m_1, \, m_2, \, r \in (0, 1), m_1 < m_2, \ m_1 \leq r \leq m_2, and a > 0 then we need to find k_1, \, k_2 \geq 0 such that k_1 + k_2 = a and k_1m_1 + k_2m_2 = ar.
Here's the interpretation of what I just said when you're doing a mixture problem: m_1 and m_2 are concentrations of the starting solutions, with m_1 being the smaller of the two. r is the concentration of the resulting solution, and a is the amount that we want of resulting solution. We want to find the amounts k_1 of the first solution and k_2 of the second solution that we should combine in order to have a total solution (ie. k_1 + k_2 = a), and in order to make the resulting concentration r. This last condition is equvalent to wanting an amount ar of solute in the resulting solution, so it is equivalent to needing k_1m_1 + k_2m_2 = ar (since k_1m_1 is the amount that you get from the first starting solution and k_2m_2 is the amount that you get from the second starting solution).
You can see that if you are going to describe things mathematically you want to eliminate all of the extraneous circumstantial information. Mathematics isn't concerned with mixtures!
So now you have the problem, stated mathematically. The next step, naturally, is to formulate your conjecture mathematically. In the terms of the mathematical statement of the problem I've written above, your algorithm looks like this:
Step 1: Let M = m_2 - r.
Step 2: Let m = r - m_1.
Step 3: Let D = m + M = m_2 - m_1.
Step 4: Let U = 1/D.
Step 5: Let k_1 = aMU, k_2 = amU.
You can work backwards to get k_1 and k_2 in terms of a, m_1, m_2, and r:
k_1 = aMU = \frac{a(m_2 - r)}{D} = \frac{a(m_2 - r)}{m_2 - m_1}
and
k_2 = amU = \frac{a(r - m_1)}{D} = \frac{a(r - m_1)}{m_2 - m_1}.
You are now in a position to state your conjecture:
If m_1, \, m_2, \, r \in (0, 1), m_1 < m_2, \ m_1 \leq r \leq m_2, and a > 0 then setting k_1 = a(m_2 - r)/(m_2 - m_1) and k_2 = a(r - m_1)/(m_2 - m_1) gives k_1 + k_2 = a and k_1m_1 + k_2m_2 = ar.
We will see later that some of the assumptions made in the statement of the conjecture are not at all necessary, so in fact we can prove more general statements with the same argument as we will use for this one.
Now all that's left is the proof:
We have
k_1 = \frac{a(m_2 - r)}{m_2 - m_1}, \ k_2 = \frac{a(r- m_1)}{m_2 - m_1},
so indeed,
k_1 + k_2 = \frac{a(m_2 - r)}{m_2 - m_1} + \frac{a(r-m_1)}{m_2 - m_1}
= \frac{a(m_2 - r) + a(r - m_1)}{m_2 - m_1} = \frac{a(m_2 - m_1 + r - r)}{m_2 - m_1} = \frac{a(m_2 - m_1)}{m_2 - m_1}
= a
and
k_1m_1 + k_2m_2 = \frac{a(m_2 - r)}{m_2 - m_1}m_1 + \frac{a(r - m_1)}{m_2 - m_1}m_2
= \frac{a}{m_2 - m_1}\left[ (m_2 - r)m_1 + (r - m_1)m_2\right] = \frac{a}{m_2 - m_1}\left[ m_2m_1 - rm_1 + rm_2 - m_1m_2\right]
<br />
=\frac{a}{m_2-m_1}\left[(rm_2 - rm_1) + (m_2m_1 - m_1m_2)\right] = \frac{a(rm_2 - rm_1)}{m_2 - m_1} = \frac{ar(m_2 - m_1)}{m_2-m_1}
=ar.
QED. (I left in most of the arithmetic, but I might have fallen asleep and skipped some steps!

)As I said before, in fact this is a proof for the more general result that the system of equations \{k_1m_1 + k_2m_2 = ar, \ k_1 + k_2 = a \} has the solution k_1 = a(m_2-r)/(m_2-m_1), k_2 = a(r-m_1)/(m_2-m_1) whenever m_2 \neq m_1 (ie. all the other assumptions I made when I stated the earlier conjecture were unnecessary, and just there to make it look more like a mixture problem). You can see this because we never used any of the other assumptions in the proof (you need m_1 \neq m_2 because otherwise you can't divide by m_2-m_1 in the first place!).