Compose a musical piece utilizing the given motif as the foundation while maintaining the required musical form.
X:1
L:1/8
Q:1/4=90
M:2/4
K:F
['A A']  
X:1
L:1/8
Q:1/4=90
M:2/4
K:F
 c | A G F c | A G F C | F G A B | c3 f | c B A c | c B A A | c A c d | e3 d | c A c =B | A6 A | 
 A B A d | f e d A | d A F D | A3 A | A A A =B | c =B A D | G F E D | C3 c | A2 G2 | F2 c2 | 
 A G F C | F F F B | A3 C | F G A G | A B c B | A F A3/2 G/ | F2 z |]  