Paco had 17 cookies. He ate some of them and had 10 cookies left. How many cookies did Paco eat?
Paco had 17 cookies. 
He ate some of them. 
He had 10 cookies left. 

That means he must have eaten 7 cookies.