Craft a musical piece that incorporates the given motif and follows the outlined structure.
X:1
L:1/8
M:6/8
K:G
['G2 A', 'c BAB'  
X:1
L:1/8
M:6/8
K:G
 d | d>cB/A/ G2 A | EDE G2 B | AGA ABc | BGE E2 D | d>cB/A/ G2 A | EDE G2 B | AGE G2 A | GED D2 :: 
 c | BAB dBG | BAB dBG | AGA ABc | BGE E2 c | BAB def | gfe dBG | AGE G2 A | GED D2 :|  