Using the given motif as a foundation, craft a musical piece adhering to the outlined form.
X:1
L:1/8
M:6/8
K:G
['G2 G BGB def g2 f eAA', 'e edB def g2 a'  
X:1
L:1/8
M:6/8
K:G
|: G2 G BGB | def g2 f | eAA dBG | FAG FED | G2 G BGB | def g2 f | eAA dBG | FAF G2 D :: E2 e edB | 
 def g2 a | b2 g agf | ggg fdB | e2 e edB | def g2 a | bag agf | gee e3 :|  