Produce melodies following the designated musical arrangement and the given motif.
X:1
L:1/8
Q:1/8=128
M:4/4
K:G
['D>E G>A B>A']  
X:1
L:1/8
Q:1/8=128
M:4/4
K:G
|: B | D>E G>A B>A B>e | d>A B>G E/E/E E>G | D>E G>A B>A B>d | e/f/g d>g B<G GB | D>E G>A B>A B>e | 
 d>A B>G E/E/E E>G | D>E G>A B>A B>d | e/f/g d>g B<G Ge | d/c/B/c/ d>g d>B G>B | 
 c/d/e B/c/d A<E E>e | d/c/B/c/ d>g d>B G>B | c/d/e A>d B<G G>e | d/c/B/c/ d>g d>B G>B | 
 c/d/e B/c/d A<E E>G | D>E G>A B>A B>d | e/d/g d>g B<G G :|  