Compose a musical piece using the given motif and adhering to the outlined musical form.
X:1
L:1/8
M:2/2
K:Amix
['f ec d/c/B/A/ E2 EF G2 GA', 'TcAA f ecac d/d/d df ecac B/B/B'  
X:1
L:1/8
M:2/2
K:Amix
 f | ec d/c/B/A/ E2 EF | G2 GA B/A/B/c/ dB | A/A/A c>A E2 E>f | edTcB TcAA :| f | ecac d/d/d df | 
 ecac B/B/B Bf | ecac def^g | a/^g/f/e/ a>c A/A/A A :|  