Since Matt has 7 times more stickers than David and David has d stickers, then Matt has 7d stickers. Additionally, that quantity is represented by m since Matt has m stickers. Then:
[tex]m=7d[/tex]After giving 5 stickers to David, the amount of stickers that Matt has will be:
[tex]7d-5[/tex]The amount of stickers that David has will be:
[tex]d+5[/tex]Therefore, the amount of stickers that Matt has after giving David 5 stickers (in terms of d), is:
[tex]7d-5[/tex]