Oh man, those are doozies! The general idea seems to be to spot the pattern, and then figure out which piece should go where the question mark is to keep the pattern continuous.
A few of them seem pretty ambiguous, too.
Number 5 is easy at least. I got 7 too (hint: the number of shapes over the line and the number of shapes under the line follow a pattern).
What class is this homework for?