Construct musical melodies following the designated letter arrangement and the given motif.
X:1
L:1/4
Q:1/4=120
M:4/4
K:G
['A B c2']  
X:1
L:1/4
Q:1/4=120
M:4/4
K:G
 A B | c2 G A | B2 F G | A F E F | D2 A B | c2 B ^c | ^d2 ^c d | e f =d ^c | B2 (e/ f/) e | 
 d B c d | B2 (A/ B/) B |[M:3/2] G E F3 G |[M:4/4] E4 |]  