Create a composition based on the provided motif while adhering to the necessary musical structure.
X:1
L:1/8
M:6/8
K:G
['GAG GAB ABA ABd edd', 'BAB dBd ege'  
X:1
L:1/8
M:6/8
K:G
 D | GAG GAB | ABA ABd | edd gdd | edB dBA | GAG GAB | ABA ABd | edd gdB | AGF G2 :| A | BAB dBd | 
 ege dBA | BAB dBG | ABA AGA | BAB dBd | ege dBd | gfg aga | bgf g2 :|  