Design melodies by integrating the specified musical pattern and the provided motif.
X:1
L:1/8
M:4/4
K:G
['Bdgd bdgd egde cAGE D2 F/E/D ADFD', 'FGAB cBcA GABd ed^cB ^ceag fedc edd^c', "dBGB dgbd' d'c'bc' a3 b c'bc'a fdfa"  
X:1
L:1/8
M:4/4
K:G
|: dc | Bdgd bdgd | egde cAGE | D2 F/E/D ADFD | FGAB ce e/d/c | Bdgd bdgd | egde cAGE | 
 D2 F/E/D ADFD | GBAF G2 :: z G | FGAB cBcA | GABd ed^cB | ^ceag fedc | edd^c d2 ef | 
 g/a/g f/g/f e/f/e d/e/d | c/d/c B/c/B A/B/A G/A/G | F/G/F E/F/E D/E/D C/D/C | 
 B,/C/B, A,/B,/A, G,2 AG | FGAB cBcA | GABd ed^cB | ^ceag fedc | edd^c d2 z f | gafg efde | 
 cdBc ABGA | FGEF DECD | B,CA,B, G,2 :: z e | dBGB dgbd' | d'c'bc' a3 b | c'bc'a fdfa | gbag fedB | 
 dBGB dgbd' | d'c'bc' a3 b | c'bc'a fdfa | gbaf g2 :|  