Compose a musical piece utilizing the given motif as the foundation while maintaining the required musical form.
X:1
L:1/8
M:2/2
K:G
['G2 (DG)', 'dBAc (BG)'  
X:1
L:1/8
M:2/2
K:G
|: G2 (DG) EGDF | G2 (BG) AGEF |1 G2 (DE) EGBc | dBcA BGAF :|2 G2 (DG) EGDc | dBAc (BG) G2 |: 
 gd (3ddd edcA | BdAc BE E2 |1 gd (3ddd edcA | dBAc (BG) G2 :|2 cBcd efge | dBAc (BG) G2 |]  