One P&C; related doubt

If 6 objects are to be distributed into two groups of 3 objects each then no of ways will be 10 or 20 .I am using the formula from as given in total gadha ,6!/2!*(3!)^2=10 but in time solution they have given 20 ways .Which one is correct ?Pleas…

If 6 objects are to be distributed into two groups of 3 objects each then no of ways will be 10 or 20 .

I am using the formula from as given in total gadha ,6!/2!*(3!)^2=10 but in time solution they have given 20 ways .Which one is correct ?Please help