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:
After giving 5 stickers to David, the amount of stickers that Matt has will be:
The amount of stickers that David has will be:
Therefore, the amount of stickers that Matt has after giving David 5 stickers (in terms of d), is: