Compose melodies based on the specified pattern and provided motif.
X:1
L:1/8
M:4/4
K:G
['G>DB,>D G>BA>G F>EC>A, F2 (3EFE D>DF>A', 'd>dd>d e>dB>G A>GA>c E2 A>G F>DF>A', 'G2 e>ee>e f>ec>A B>AB>d F2 B>A G>EG>B', 'GDB,D GBAG FECA, F2 (3EFE DDFA', 'dddd edBG AGAc E2 AG FDFA', 'G2 eeee fecA BABd F2 BA GEGB'  
X:1
L:1/8
M:4/4
K:G
 G>DB,>D G>BA>G | F>EC>A, F2 (3EFE | D>DF>A d>cE>F | G>BG>E D2 B>A | G>DB,>D G>BA>G | 
 F>EC>A, F2 (3EFE | D>DF>A c>AF>D | G2 B2 G2 :| d>dd>d e>dB>G | A>GA>c E2 A>G | F>DF>A c>AE>F | 
 G>AB>G D2 B>c | d>dd>d e>dB>G | A>GA>c E2 A>G | F>DF>A c>AF>D | G2 B2 G2 :| e>ee>e f>ec>A | 
 B>AB>d F2 B>A | G>EG>B d>BG>E | A2 c2 A2 :| GDB,D GBAG | FECA, F2 (3EFE | DDFA dcEF | GBGE D2 BA | 
 GDB,D GBAG | FECA, F2 (3EFE | DDFA cAFD | G2 B2 G2 :| dddd edBG | AGAc E2 AG | FDFA cAEF | 
 GABG D2 Bc | dddd edBG | AGAc E2 AG | FDFA cAFD | G2 B2 G2 :| eeee fecA | BABd F2 BA | GEGB dBGE | 
 A2 c2 A2 :|  