For combinations problems, it's useful to categorise the situation as one of a few generic types. Here we have a "people in a line" situation, for which the solution is [number of people]! (the ! means factorial, i.e. the product of all the positive integers up to that number).
Although we have 5 people in this situation, the solution is not 5x4x3x2x1, as that would be larger than any of the answers. We need to deal with the "twist", i.e. the condition that we have 2 men and 3 women. It often helps to take an example, just to get an idea of what a possible solution would look like. If the men are M1 and M2, and the women are W1, W2, and W3, then one solution would be W1 M1 W2 M2 W3. This might help us see that any possible solution will be in the form W M W M W, which is a useful insight as it restricts the situation.
The answers are too large to realistically list out all the possible scenarios under exam conditions (although this could be a useful task when studying problems in review). Instead, resort to the "decision tree" approach, which applies to just about any combinations problem: break the problem down into separate decision points, then draw (or imagine) a branching diagram. In this situation, we have 3 choices for the first woman. Each of these three branches will then split as we have a choice of 2 for the first man, then 2 choices for the second woman, 1 for the second man, and 1 for the third woman. The full tree will have 3x2x2x1x1 pathways, i.e. 12 possible realities, giving answer A.
If this explanation seems overly long, remember that effective study is not just about solving problems, but about studying problems in order develop your skills and insights to apply to other (perhaps harder) problems. For that, understanding the logic behind rules and strategies you apply is key.