Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/16
M:4/4
K:Eb
['e2(fe) d2(ed)']  
X:1
L:1/16
M:4/4
K:Eb
 (GF) | E3 F G2B2 c3 d e2(ef) | g2G2 G3 F E3 D C2D2 | E3 F G2B2(cB)(cd) | c3 dd | 
 e3 fe fg e f4 e2B2 | e2(fe) d2(ed) c3 B | c3 B G3 G | e2(fe) d2(ed) (c4 G2)G2 | e2(fe) d2(ed) | 
 c3 d e2 ff | g2G2(GA)(GF) E4 D2C2 |]  