Construct musical melodies following the designated letter arrangement and the given motif.
X:1
L:1/8
M:4/4
K:Amix
['A2 A>c', 'a f>ef<a f2 e<c e2 a>f', 'e>fa>e f<ae>f e>cB<c', 'f>gf>d e>fe>d']  
X:1
L:1/8
M:4/4
K:Amix
 e | A2 A>c B<AB<c | e>fa>e f2 e>c | A2 A>c B<ce>f | e2 B2 B3 e | A2 A>c B<AB<c | e>fa>e f2 e>c | 
 A>ca>e f>cB<c | e2 A2 A3 :: a | f>ef<a f2 e<c | e2 a>f f>ec<e | f>ef>a f>ed>c | e2 B2 B3 a | 
 f>ef<a f2 e<c | e2 a>f e>cB<c | A>ca>e f>cB<c |1 e2 A2 A3 :|2 e2 A2 A2 |: c>B | A>cB<c e>fa>e | 
 f<ae>f e>cB<c | A>cB<c c>e{f}e>f | e2 B2 B2 c>B | A>cB<c e>fa>e | f<ae>f e>cB<c | A>ca>e f>cB<c | 
 e2 A2 A2 :| c>d | e>fe>c f>gf>d | e>fe>d c>Bc<e | f>de>c d2 c>d | e2 B2 B2 c>d | e>fe>c f>gf>d | 
 e>fe>d c<dB<c | A>ca>e f>cB<c | e2 A2 A2 c>d | e>fe>c f>gf>d | e>fe>d c>Bc<e | f>de>c d2 c>d | 
 e2 B2 B2 c>B | A>cB<A c<ea>e | f<ag>f e2 c>B | A>ca>e f>cB<c | e2 A2 A3 ||  