Compose a musical piece utilizing the given motif as the foundation while maintaining the required musical form.
X:1
L:1/8
M:4/4
K:G
['G>A Bdg>g g2 (a/g/f/e/) dBB>c B2 AG', 'G2 fg afd>d d2 ga bge>f e2'  
X:1
L:1/8
M:4/4
K:G
 G>A | Bdg>g g2 (a/g/f/e/) | dBB>c B2 AG | Bdce dBGB | A2 A>B A2 G>A | Bdg>g g2 (a/g/f/e/) | 
 dBB>c B2 AG | Bdge dBAB | G2 G>A G2 :: fg afd>d d2 ga | bge>f e2 ga | bg{b} af{a} ge{g} f(d | 
 dB) A>B A2 GA | Bdg>g g2 (a/g/f/e/) | dBB>c B2 AG | Bdge dBAB | G2 G>A G2 :|  