Dan has $ 24. He bought a chocolate for $ 29 and a candy bar for $ 2. How much money did he spend to buy chocolate than he did to buy candy bar?
Dan has $24. 
He buys a chocolate for $29. 
This means that he spends $5 more on the chocolate than he has. 
He buys a candy bar for $2. 
This means that he spends $2 less on the candy bar than he has. 

In total, Dan spends $3 more on chocolate than he does on candy bars.