At 50 dollars your actual earnings will probably be 1/2 to 1/3 of that. So yes I guess you can make a living in the third world at 25/hr or 16/hr.
Considering that many professional programmers with a college degree in Software Engineering make ~$1300/m (net), the remaining $2700 is plenty to cover all taxes and expenses for both parties.