Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/8
M:3/4
K:C
['EFGAGF EFGE C2 EFGAGF E2 c2 B2', 'dcBA G2'  
X:1
L:1/8
M:3/4
K:C
 EFGAGF | EFGE C2 | EFGAGF | E2 c2 B2 | ABcd e2 | dcBA G2 | ABcedB |{B} c6 :: (e3 f)ge | dcBA G2 | 
 ABcBcA | GFED C2 | (e2 e)fge | dcBA G2 | ABceBd | c2 C4 :|  