Formulate melodies by adhering to the specified pattern and supplied motif.
X:1
L:1/8
Q:3/8=90
M:6/8
K:G
['G3 A3 dBg']  
X:1
L:1/8
Q:3/8=90
M:6/8
K:G
|: G3 A3 | dBg dBG | c/d/ec dBG | F2 G AFD | G3 A3 | dBg fed | (e/f/g)e (f/g/a)f | g3 g3 |:  