Develop musical compositions that maintain the outlined structure and integrate the provided motif
X:1
L:1/8
M:2/2
K:G
['BdcA d2 cA D>G({A} (3GFG) ABcA BdcA', '(dc) A>d({e} (3dcd) (ef)ge fdec d2 (dc)', '(dc) A>d({e} (3dcd) (ef)ge faef d2 (dc)'  
X:1
L:1/8
M:2/2
K:G
|: BdcA d2 cA | D>G({A} (3GFG) ABcA | BdcA G2 GF | D>F({G} (3FEF) ABcA :|[K:D] Addc d2 (dc) | 
 A>d({e} (3dcd) (ef)ge | | fdec d2 (dc) | AGFG AB=cB || Ad{e}dc d2 (dc) | A>d({e} (3dcd) (ef)ge | 
 faef d2 (dc) | AGFG AB=cA |]  