Well, Jedithious....this is kind of a tough one, huh??
Let's call the amount of water contained in D originally "x"....since we don't know how much it contains.
After the first pour, D loses(1/2)x and C gets (1/2)x
x -(1/2)x = (1/2)x
So D now contains (1/2)x
And, on the next pour, D loses (1/2)(1/2) x = (1/4)x and C gets (1/4)x
So D now contains x - (1/2)x - (1/4)x = (1/4)x
And C contains (1/2)x + (1/4)x = (3/4)x
On the last pour D loses(1/2)(1/4)x = (1/8)x and C gets (1/8)x
So....let's look at what C contains, now.
It has (1/2)x + (1/4)x + (1/ 8)x = (7/ 8)x
But.....(7/8)x = (1/2)C = (1/2)D ....since both glasses are the same size and shape.
Therefore
(7/8)x = (1/2)D and since we want to find out what x was, let's multiply both sides by (8/7)
So we have
x = (8/7)(1/2)D = (8/14) = (4/7)D
So D was (4/7) full when we started
So, since each pour "halves" what comes before, we have (4/7)(1/2)(1/2)(1/2) = 4/56 = 1/14 full...and that's the fraction of the glassful remaining in D.
Whew!!...some workout, huh? Let me know if you spot any mistakes......but I think that's it......a pretty challenging problem!!