Let x = Mary' share.
Then the Alice' share is (2x-1000) dollars,  
and Bob' share is (x+2000).
The equation for the total then is
    x + (2x-1000) + (x+200) = 25000  dollars.
Simplify and solve for x
    4x + 1000 = 25000
    4x = 25000 - 1000 = 24000
     x                = 24000/4 = 6000  dollars.
ANSWER.  Mary' share is $6000;  Alice' share is 2*6000-1000 = 11000 dollars;  Bob' share is  6000+2000 = 8000 dollars.
CHECK.  6000 + 11000 + 8000 = 25000.   ! Precisely correct !