The task is to generate the correct answer for a given math problem.

Problem: in how many ways 2 boys and 2 girls can be seated in a row so that boys and girls are alternate ?
8