Create a piece of music utilizing the given motif and adhering to the specified structure.
X:1
L:1/8
M:6/8
K:G
['G3 GAB ABA ABd edd', 'dBd ege'  
X:1
L:1/8
M:6/8
K:G
 D | G3 GAB | ABA ABd | edd gdd | edB dBA | G3 GAB | ABA ABd | edd gdB | AGF G2 :| A | B3 dBd | 
 ege dBG | B3 dBG | ABA AGA | BAB dBd | ege dBd | gfg aga | bgf g2 :|  