Is my approach correct

I solved this question using different approach is it correct or i got luck?
No. of choices
AB CD EF ->> 3\times2\times1\times 2\times2\times2 (because they can be rearranged AB of BA)
total no. of out come is 6! = 720
prob. = 48/720 = 1/15

That approach is fine.