ooh I love these things. They actually gave you this for homework? I'd kiss my teacher's armpit if the homework they gave me was this fun.
Use this link to help you: Logic Problems - A Pie for Mom
much easier to do it when you've got grids to help you. Looks like your teacher found this online.If all else fails, there's also a solution there.