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
['c2 A BAG', 'G2 B d2 B G2 d c2'  
X:1
L:1/8
M:6/8
K:G
|: D | G2 D A2 D | cdA GG/A/B | c2 A BAG | A2 F D2 c | B2 G D2 [B,B] | E^DE c2 A | BAG D2 G | 
 G3- G2 :: B | d2 B G2 d | c2 A F2 d | BAG cAG | F2 E D3 | G2 D A2 D | B2 D d2 c | BAG [DA]2 G | 
 G3- G2 :|  