Construct a musical composition following the given alphabetical structure and incorporating the specified motif.
X:1
L:1/8
M:4/4
K:D
['B/ A>DE>D A>DB>D A>DF>D G2 G>B A>DE>D', 'c>A (3AAA (3Bcd c>A', 'G>B A>F (3FFF B>G (3GGG (3Bcd c>A']  
X:1
L:1/8
M:4/4
K:D
|: B/ | A>DE>D A>DB>D | A>DF>D G2 G>B | A>DE>D A>DF>A |1 (3Bcd c>A G2- G3/2 :|2 B>dc>A G2- G>E || 
 D2 d>B c>AG>E | D>dd>c A2 G>E | D2 d>B c>A (3AAA | (3Bcd c>A G2 F>E | D2 d>B c>AG>E | 
 D>dd>c A2 B>c | d>fe>d c>A (3AAA | (3Bcd c>A G2- G>B || A>F (3FFF B>G (3GGG | A>F (3FFF G2 G>B | 
 A>F (3FFF B>G (3GGG | (3Bcd c>A G2 (3dcB | (3AdA F>A (3BdB G>B | A>dF>A G2 F>G | 
 A>d (3ddd d>cA>d | d>cA>F G2- G3/2 ||  