Edward spent $ 13. Then he received $ 5 from his friend. Now he has $ 29. How much did Edward have before he spent his money?
Edward spent $13. 
That means he had $13 before he spent it. 
Then he received $5 from his friend. 
That means he had $18 before he received it. 
Now he has $29. 
That means he had $29 before he had $29. 

So Edward had $29 before he spent his money.