5.b
6.b

This is what I got for 7 using excel, but I'm not sure if its right.
7.c