Construct a piece of music using the designated motif as the basis, while ensuring the required form is followed.
X:1
L:1/4
M:3/2
K:D
['A F', 'f e', 'A F'  
X:1
L:1/4
M:3/2
K:D
 A2 | G/ A/ B | A3/2 | G/ A | F D | F A2 | d2 | d/ e/ f | e3/2 | d/ e | c A | c d | A B | G E | 
 B A | F G | E C | ^E F | D E | A A/ | B/ c | B3/2 | A/ A4 | A2 || c2 | c/ d/ e | d3/2 | c/ f | 
 d B | f e | c d | f g | d c | f B | f e | c d | B ^A | f e | d c | B B3 | B A3/2 | G/ F3/2 | 
 G/ F/ G/ | A E | A D | d c | f c/ | d/ e | A d | d3 | c d4 | d2 || A2 | G/ A/ B | A3/2 | G/ A | 
 F D | F A2 | d2 | d/ e/ f | e3/2 | d/ e | c A | c d | A B | G E | B A | F G | E ^C | E F | D A, | 
 D D3 | C D4 | D2 ||  