Compose a piece of music following the given alphabetical representation of the musical structure and the provided motif.
X:1
L:1/8
M:4/4
K:D
['G3 DEDEG AGAB d2 Bd e2 gedBGA', 'D2 eaagefge dBBA B3 B gBfB eBBA']  
X:1
L:1/8
M:4/4
K:D
|: G3 DEDEG | AGAB d2 Bd | e2 gedBGA | BAGEED D2 :| eaagefge | dBBA B3 B | gBfB eBBA | B4 eaag | 
 efgedBBA | B3 d e3 d | B2 GABAGE | ED (D D6) ||  