Construct musical compositions utilizing the given motif within the outlined structure.
X:1
L:1/8
M:4/4
K:G
['GA B2 B2 c2 BA Bdef g2', 'g2 fg'  
X:1
L:1/8
M:4/4
K:G
 GA | B2 B2 c2 BA | Bdef g2 fg | dcAG GABc | d4 d2 GA | B2 B2 c2 BA | Bdef g2 fg | efde BdAB | 
 G4 G2 :: g2 fg a2 d2 | (3efg fa gfed | B2 AG GABc | d4 d2 GA | B2 B2 c2 BA | Bdef g2 fg | 
 efde BdAB | G4 G2 :|  