Generate music with the following musical form in terms and the given motif.
X:1
L:1/8
M:4/4
K:A
['(a>e)(c>A) Td2 c>B (a>e)(c>A) T[BE]4 a>ec>A G>BE>d', '[BE]4 (B>E)(d>E) c>ec>A B>dc>g a4 f>de>c d>Bc>a', 'Tc2 (dA) (FD) dfed c2 TB2 AceG', 'cd e2 f2 gbag Tf4 egfc dB'  
X:1
L:1/8
M:4/4
K:A
|: (a>e)(c>A) | Td2 c>B | (a>e)(c>A) | T[BE]4 | a>ec>A | G>BE>d | c>Ae>c | [BE]4 :: (B>E)(d>E) | 
 c>ec>A | B>dc>g | a4 | f>de>c d>Bc>a | f>dc>B | A4 ::[M:2/4][K:D] d2 Tc2 | (dA) (FD) | dfed | 
 c2 TB2 | AceG | FdcB | A2 T^G2 | A4 :: AB cd | e2 f2 | gbag | Tf4 | egfc | dB A2 | TB3 c | dBAG | 
 F2 TE2 | D4 :|  