Answer:
5 men and 2 women = 7 people with no restriction
a) Two women must sit next to each other:
b) The two women must not sit next to each other:
3 men and 5 women with no restriction: