Generate music with the following musical form in terms and the given motif.
X:1
L:1/8
M:2/4
K:D
['(3(A/A/A/) cA fe e2', 'B (3(B/B/B/) Bc dc c2', 'D (3(D/D/D/) FD FA A2'  
X:1
L:1/8
M:2/4
K:D
 E | [cA] (3(A/A/A/) cA | fe e2 | d/e/d/c/ Be | cAAE | A (3(A/A/A/) cA | fe e2 | a (3(c/c/c/) ec | 
 (3(A/A/A/) Ac/e/a |] !fermata!E | B (3(B/B/B/) Bc | dc c2 | cdef | fB BE | B (3(B/B/B/) Bc | 
 dc c2 | Aaf^d | e2"^D.C." e |] E | D (3(D/D/D/) FD | FA A2 | AFFD | DA, A,2 | D (3(D/D/D/) FD | 
 FA A2 | Aaf^d | [eA]2"^D.C." [eA] |]  