Suppose there are families with people in each family for a total of people arranged around a circular table. How many ways are there to seat the people such that each person sits next to another member of his family?

So fix people from each family (treat them as a unit). This leaves ways to arrange the rest?