Paco had w cookies. He gave x cookies to his friend and ate y cookies. How many more cookies did he eat than those he gave to his friend?
Paco had w cookies. He gave x cookies to his friend and ate y cookies.

How many more cookies did he eat than those he gave to his friend?

We need to find the difference between the number of eaten cookies and the number of given cookies:

y - x = ?