Compose a musical piece utilizing the given motif as the foundation while maintaining the required musical form.
X:1
L:1/8
M:6/8
K:G
['D GBG DB,G, GBd gdB AEE cEE', 'gfg dcB', 'B,DG Bdf gfg'  
X:1
L:1/8
M:6/8
K:G
|: D | GBG DB,G, | GBd gdB | AEE cEE | AcB AGE | DB,D GBd | gfg dcB | ABc dcA | BGF G2 :| C | 
 B,DG Bdf | gfg dcB | AEE cEE | AcB AGE | DB,D GBd | gfg dcB | ABc dcA | BGF G z || D/C/ | 
 B,DG Bdf | gfg dcB | AEE cEE | AcB ADC | B,DG Bdf | gfg dBc | dbd cac | BAF G2 ||  