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:C
['[M:2/4][K:G] eaue!p! e e[Q:1/8=120]d dBGA B d2', 'z d2 d>d B d2 d edBG'  
X:1
L:1/8
M:4/4
K:C
[M:2/4][K:G] eaue!p! e e[Q:1/8=120]d | dBGA | B d2 d | edBG | A3 A | GABc | d g2 e | dBAB | G3 z || 
 d2 d>d | B d2 d | edBG | A3 A | GABc | d g2 e | dBA>d | G4 ||  