Create melodies using the given musical pattern and the provided motif.
X:1
L:1/8
Q:1/8=180
M:2/2
K:G
['G2 BG', 'gfed (3Bcd ef gfed'  
X:1
L:1/8
Q:1/8=180
M:2/2
K:G
 G2 BG dGBG | G2 BG EAAF | G2 BG dGBd | cABG EG G2 | G2 BG dGBG | dGBG EAAF | G2 Bc dege | 
 dBAG EG G2 || gfed (3Bcd ef | gfed eaag | gfed BcdB | cABG EGGd | gfed (3Bcd ef | gfed ea a2 | 
 bgaf gedB | cABG EG G2 |]  