Compose a musical work incorporating the given motif and adhering to the outlined alphabetical framework.
X:1
L:1/8
M:2/2
K:D
['EAAA GABG EAAA GEDG EAAA GABd', 'gedg efge']  
X:1
L:1/8
M:2/2
K:D
 EAAA GABG | EAAA GEDG | EAAA GABd | efge dBAG | EAAA GABG | EAAA GEDG | EAAA GABd |1 
 efge d2 (3BAG :|2 efge d2 ef || geee gede | geee a2 ba | geee gedg | efge d2 ef | g2 fg eBBB | 
 geee a2 ga | bgaf gedg | efge dBAG :|  