D is fixed right ; it will be first in each sequence right!!
so now we are left with 6 positions;
and we know that BAC , FEG are left and they should come in this order only
so take any 3 positions out of 6 ,that can be done in 6C3
now in BAC order of A,C can be changed and in FEG order of E,G can be changed
so 6C3 * 2! * 2!
therefore 80