Compose melodies based on the specified pattern and provided motif.
X:1
L:1/8
Q:1/8=180
M:2/2
K:G
['g2 dB BdBG AcFA GFED g2 dc', 'B,DGD CEGE'  
X:1
L:1/8
Q:1/8=180
M:2/2
K:G
 g2 dB BdBG | AcFA GFED | g2 dc B/c/d BG | Ac DF G2 G,2 :| B,DGD CEGE | DFAc B/c/d BG | 
 B,DGD CEGE | F/G/A FD{F} G2 Gg | f/g/afd g/a/bge | agfe cABg | f/g/afd gefd | fage g2 g2 ||  