Construct musical melodies following the designated letter arrangement and the given motif.
X:1
L:1/8
M:6/8
K:G
['GAG Bcd DED', 'd2 c']  
X:1
L:1/8
M:6/8
K:G
 D | GAG Bcd | DED DEF | G2 e dBG | A3 z BA | GAG Bcd | DED D2 e | dc<B AGA | G4 z || G | FGA ABA | 
 D3 D2 A | FGA AB^c | d3 d2 c | BBA GEF | G2 A B2 ^d | eBA GAF | E3 E2 F | GAG BdB | G3 G2 D | 
 GGe dBG | A3 A2 A | BBA GAB | cde d2 c | d>cB AGA | G3 G2 ||  