So I want to have a grouping where 50% of the right-most length of a line (segment) contains 25% of the 'units' being grouped.
I then want the remaining 75% of the units grouped in to the remaining 50% of the line.
Next, I want to repeat the process about 3 more times (but could be arbitrary), with that 75% of the units, and the left segment of the line - placing 25% of them in to 50% of the right-most length of the line segment, and so on.
This sounds like something that could be reduced to an equation. I, however, don't know of any such equation, so I look to the brilliant minds on stack exchange.

Let's call $a_k$ ($resp$. $b_k$) the proportion in the group generated in the left($resp$. right)-most end at the $k^{th}$ application of the process.
$b_n=0.75b_{n-1}$ : The right-most end at step n is 75% of the right-most end at the previous $a_n=0.25b_{n-1}$ : The left-most end at step n is 75% of the right-most end at the previous
From the previous you can derive :
$\left\{ \begin{array}{ll} a_n=0.25 \times 0.75^{n-1} \\ b_n=0.75^n \end{array} \right.$
After applying exactly $n$ times the process the $n+1$ intervals you end up with a partition in the following proportions: $$(a_1,\dots,a_{n},b{n})$$ with $a_1+\dots+a_{n}+b{n}=1$