Construct musical melodies following the designated letter arrangement and the given motif.
X:1
L:1/8
Q:1/4=120
M:2/2
K:G
['G>AG>B A/A/A AB', 'G/G/G dB eAAB']  
X:1
L:1/8
Q:1/4=120
M:2/2
K:G
 D | G>AG>B A/A/A AB | G>AF>B E2 D2 | G>AG>B A/A/A AB | GF/G/ A/G/F/E/ D3 |: d | G/G/G dB eAAB | 
 G/G/G dF E2 Dd | G/G/G dB eAAB | GF/G/ A/G/F/E/ D3 |:  