Construct musical melodies following the designated letter arrangement and the given motif.
X:1
L:1/8
M:2/2
K:G
['Bc dcBA G2', 'gfgd edcB']  
X:1
L:1/8
M:2/2
K:G
 Bc | dcBA G2 Bc | dcBA G2 AB | cAAG FGAB | cAAG FGAc | B2 B2 c2 Bc | d2 ef g2 (3def | gfgd ecAF | 
 G2 GG G2 :: ef | gfgd edcB | cdef gfed | gfgd edcB | A2 fg a2 ba | gfgd edcB | cdef gfed | 
 gfgd ecAF | G2 GG G2 :|  