mike and sam begin saving money at the same time. mike plans to save $3 a month and sam plans to save $8 a month. After how many months will sam have $25 more than mike?

algebraically, you want

8m >= 3m+25

or, just note that Sam saves an extra $5/month. SO, it will take 5 months to gain $25.