How do you get the puffle to eat the cookie in mission 9 in clubpenguin?

u get a big hat from gary's invention room and give it to the sad puffle and then give the cookie to the puffle and he will get the half of the paper for you hope I explained it right