Construct musical melodies following the designated letter arrangement and the given motif.
X:1
L:1/8
M:4/4
K:G
['G2 G>B A>GF>A G>Bd>f', 'B>c d>gf>g']  
X:1
L:1/8
M:4/4
K:G
 D2 | G2 G>B A>GF>A | G>Bd>f g>de>f | g2 g>d B>ed>B | A2 c>A FA9/4E/D/ | G2 G>B A>GF>A | 
 G>Bd>f g2 (3efg | g>fg>d B>ed>B | A>DE>F G2 :: B>c | d>gf>g d2 B>c | d>gf>g d2 B>c | 
 d>gf>g e>dc>B | B2 A>B A2 B>c | d>gf>g d2 B>c | d>gf>g d2 B>c | d>gf>g e>dB>G | A>DE>F G2 :|  