Construct musical melodies following the designated letter arrangement and the given motif.
X:1
L:1/8
M:2/4
K:G
['DG BG dG BG FG AB', 'g2 fe dB B2 cA']  
X:1
L:1/8
M:2/4
K:G
 DG BG | dG BG | FG AB | cE FE | DG BG | dG BG | FG AB | cF G2 :: g2 fe | dB B2 | cA A2 | 
 ed de/f/ | g2 fe | dB B2 | cA FG | AG G2 :|  