Very difficult Math question from Chung's book

AimingAt750
Fri, 19 Apr 2013 10:04:55 +0000

A B C D E F G

If the 7 cards above are placed in a row so that cards A and G are at either end, and if B, C and D must be kept together, how many different arrangements are possible?