Construct musical melodies following the designated letter arrangement and the given motif.
X:1
L:1/8
Q:1/4=112
M:3/4
K:G
['G>A Bc d>c']  
X:1
L:1/8
Q:1/4=112
M:3/4
K:G
|: G>A Bc d>c | dB G2 d2 | =f_e d2 c2 | d(c/d/4c/4 B4) | G>A Bc d>c | (dB) G2 c2 |[M:2/4] BA GF | 
[M:3/4] B (A/B/4A/4 G2) z2 :|  