Construct a melodic piece using the alphabet-based musical sequence and the given motif.
X:1
L:1/8
M:4/4
K:D
['G>BD>G B,>DG>B (3ddd B>d G>BA>G', 'B>G G2', 'g>dB>d e>=cA>F G>AB>G D2 G>F E>=cE>c']  
X:1
L:1/8
M:4/4
K:D
 B>A | G>BD>G B,>DG>B | (3ddd B>d G>BA>G | (3AAA F>A D>EF>A | f>ed>c e>d=c>A | G>BD>G B,>DG>B | 
 (3ddd B>d G>BA>G | F>GA>B =c>^cd>^d | f>e=c>A G2 :: A>G | F2 A>F F2 A>G | F>D (3DDD d>AF>A | 
 B>G G2 B>G G2 | B>GB>d g>fe>d | c>A A2 c>A A2 | c>Ac>e g2 e>f | d2 e>d e>dc>e | e>dc>e d2 :: 
 (3def | g>dB>d e>=cA>F | G>AB>G D2 G>F | E>=cE>c D>BD>B | A>GF>A d2 e>f | g>dB>d e>=cA>F | 
 G>AB>G D2 G>F | E>=cE>c D>cD>c | (3ABA G>F G2 :|  