Construct musical melodies following the designated letter arrangement and the given motif.
X:1
L:1/8
M:6/8
K:G
['D G3 AA/B/c BGB A2 D G2', 'g2 d', 'd c2 e dBG']  
X:1
L:1/8
M:6/8
K:G
|: D | G3 AA/B/c | BGB A2 D | G2 B A2 c | BAF G2 :: A | B2 d g2 d | ece d2 G | BB/c/d g2 d | 
 ege c2 :: d | c2 e dBG | AGA B2 d | c2 e dBG | AGF G2 :|  