Compose a musical piece utilizing the given motif as the foundation while maintaining the required musical form.
X:1
L:1/8
M:4/4
K:D
['cA A>A A/B/c/d/ e/f/g/a/ fd', 'e/f/g/a/ fd d>c Bg'  
X:1
L:1/8
M:4/4
K:D
 A>G | FD D>D DF Ad | cA A>A A/B/c/d/ e/f/g/a/ | fd dc Bg g>f | 
 e/f/e/d/ c/d/c/B/ A/B/A/G/ F/G/F/E/ | FD D>D D/E/F/G/ A/B/c/d/ | cA A>A A/B/c/d/ e/f/g/a/ | 
 fd d>c Bg ec | d2 d>c d2 || f>g | af f>d fd f/g/a | ge e>c ec e/f/g/a/ | fd d>c Bg g>f | 
 e/f/e/d/ c/d/c/B/ A/B/A/G/ F/G/F/E/ | FD D>D DF Ad | cA A>A A/B/c/d/ e/f/g/a/ | fd d>c Bg ec | 
 d2 d>c d2 ||  