Design melodies by integrating the specified musical pattern and the provided motif.
X:1
L:1/8
M:4/4
K:G
['DEF G2 Bd gdBG ABcA FDEF GFGB', 'f2 fg', 'gg g2'  
X:1
L:1/8
M:4/4
K:G
 DEF |:"G" G2 Bd gdBG |"D7" ABcA FDEF |"G" GFGB dBGB |"D7" Agfe dcBA |"G" G2 Bd gdBG | 
"D7" ABcA FDEF |"G" GFGB dBGB |"D7" ABAF"G" GDEF :|[K:C]"C" e2 ef edce | g2 ga gece | gece gecA | 
"G7" B2 ^A2 A4 |1"G7" f2 fg fefg | b2 bb bg^fg | a2 ab agfg |"G7" ag^fg"C" e2 c2 :|2 
"F" aa^ga b2 a2 |"C" gg^fg a2 g2 |"Dm" fedf"G7" a2 B2 |"C" c4 z efg ||[K:F]"F" aa a2"C" gg g2 | 
"F" ff f2 c2 Ac | f2 fg fefa |"Gm" g2 d2 d4 |"C7" bb b2 aa a2 | gg g2 e2 cd | e2 ef edce | 
"F" dc=Bc A2 F2 |"F" aa a2"C" gg g2 |"F" ff f2 c2 Ac | f2 fg fefa |"Gm" g2 d2 d3 e | 
"Gm" fefg fefg |"F" afcB Aceg |"Gm" b2 bb"C7" bgeg |"F" fefg f4 ||  