Compose a musical piece utilizing the given motif as the foundation while maintaining the required musical form.
X:1
L:1/8
Q:1/2=80
M:2/2
K:G
['D G2 BG BdBG ABAG GFED G2', 'B2 BG', 'cBAG BcdB dBdB dffg edcB cdec ecec', 'g2 dB'  
X:1
L:1/8
Q:1/2=80
M:2/2
K:G
 D | G2 BG BdBG | ABAG GFED | G2 DG ecBA | GBAF G2 G2 :: B2 BG B2 BG | BGdB gdBG | A2 AF A2 Af | 
 gedc cBAG :: BcdB dBdB | dffg edcB | cdec ecec | Aedc cBAG :: g2 dB g2 dB | gbag gfed | 
 g2 dB g2 dB | cede G2 G2 :|  