Using the given motif as a foundation, craft a musical piece adhering to the outlined form.
X:1
L:1/8
M:3/4
K:G
['G2 gf g2', 'BABG A2 AGAF |1 G2 E2 B2'  
X:1
L:1/8
M:3/4
K:G
 G2 gf g2 | G2 gf g2 |1 agfedc | BcdB G2 :|2 f/g/a fde^c | d4 B2 || c2 cBcA | B2 BABG | A2 AGAF |1 
 G2 E2 B2 :|2 G6 ||  