Construct musical compositions utilizing the given motif within the outlined structure.
X:1
L:1/8
M:4/4
K:G
['defa gfdc BABd', 'afde f2 fg af (3gfe fde^c dcAF'  
X:1
L:1/8
M:4/4
K:G
 G2 BG AB (3cBA | defa gfdc | BABd cBAG | FGAF DE (3FED | G2 BG ABcA | defa gfdc | BABd cADF |1 
 A2 GF G2 (3DEF :|2 A2 GF G2 (3def || gfga gfdf | g2 bg afde | f2 fg af (3gfe | fde^c dcAF | 
 G2 BG ABcA | defa gfdc | BABd cADF |1 AGGF G2 (3def :|2 A2 GF G2 (3DEF ||  