Boris baked 40 cookies. His family ate m of them If his family ate m, that mean we subtract m from 40. So Boris has the remaining cookies: 40 - m