Create musical composition by adhering to the given musical structure represented by letters and integrating the given motif.
X:1
L:1/8
M:4/4
K:G
['BGGG DGBG EAAG c3 z egdg', 'A2 a2 ab aged (3Bcd ed g3']  
X:1
L:1/8
M:4/4
K:G
 EGAB c2 dc | BGGG DGBG | EAAG c3 z | egdg eAAG | EGAB cAdc | BGGG DGBG | EAAG c3 z | egdg eA A2 || 
 a2 ab aged | (3Bcd ed g3 z | eaab agef | gedg BA A2 | a2 ab aged | (3Bcd ed g3 z | eaag egdf | 
 g2 dg eAAG ||  