Design melodies by integrating the specified musical pattern and the provided motif.
X:1
L:1/8
Q:3/8=120
M:9/8
K:G
['G G>AG Bde dBG A>BG ABd Te2', 'E2 g g<dg g<ag f>ed e>dB Tg>ab'  
X:1
L:1/8
Q:3/8=120
M:9/8
K:G
 G | G>AG Bde dBG | A>BG ABd Te2 g | G>AG g>fe d<BG | ABc B>A(G/F/) E2 :| g | g<dg g<ag f>ed | 
 e>dB Tg>ab a2 f | g>ab b>ag{g} f>ed | (e/f/g)e dBG A2 :|  