Pat was packing gift boxes of cookies for guest at a party. Pat had a total of 54 cookies. Each gift box should have 5 chocolate chip cookies, 2 oatmeal raisin cookies, and 2 sugar cookies.

How many cookies are in each gift box?
How many gift boxes can Pat pack for the guest?