In a snack with friends Alberto has eaten half of all the cookies, Barbara half of the remaining 3 and now there are no more.
How many cookies were there at the beginning?
There were 12 cookies. Barbara has eaten half of the half, or a quarter plus 3. Then three cookies represent a quarter of the total.