Construct musical compositions utilizing the given motif within the outlined structure.
X:1
L:1/8
M:4/4
K:G
['DEGA BG G2 AGBG AGEG', 'G4 g2 dB GA (3Bcd egdB G3'  
X:1
L:1/8
M:4/4
K:G
 DEGA BG G2 | AGBG AGEG | DEGA (3Bcd ed | gedB AGEG | DEGA BG G2 | AGBG AGEG | (3Bcd ed Bdge | 
 dBAB G4 :| g2 dB GA (3Bcd | egdB G3 B | A2 GB AE E2 | cABG A2 (3Bcd | g3 a bgaf | gedB A2 GE | 
 DEGA (3Bcd ge | dBAB G4 :|  