Construct a musical composition following the given alphabetical structure and incorporating the specified motif.
X:1
L:1/8
M:9/8
K:D
['FAA AFd AFD G2 B BGB Bcd', 'd2 B']  
X:1
L:1/8
M:9/8
K:D
|: FAA AFd AFD | G2 B BGB Bcd | F2 A AFB ABc | dAF DEF E2 D :: d2 B AFA A^GA | Bee eaf gfe | 
 d2 B AFB ABc |1 dAF DEF E2 D :|2 dfa agf e2 d ||  