Develop musical compositions that maintain the outlined structure and integrate the provided motif
X:1
L:1/8
M:6/8
K:G
['GAG G2 e dBG ABA ABd e3', 'g2 g gag fed'  
X:1
L:1/8
M:6/8
K:G
 GAG G2 e | dBG ABA | ABd e3 | GAG gfe | dBG ABc | d3 G E2 :: g2 g gag | fed e2 e | efg a3 | 
 g2 g gag | fed efg | dBG A3 :|  