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:Dmix
['A2 G', 'AdB c2 G'  
X:1
L:1/8
M:6/8
K:Dmix
 A2 G ADD | A2 G Adc | A2 G ADD | EFG EFG :| AdB c2 G | Add efg |1 AdB c2 G | EDE GED :|2 fge dcA | 
 GEF GED ||  