Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/8
Q:1/8=120
M:4/4
K:Edor
['Beed BcdB AD (3FED A,D (3FED E3'  
X:1
L:1/8
Q:1/8=120
M:4/4
K:Edor
|:"Em" Beed BcdB |"D" AD (3FED A,D (3FED |"Em" E3 F GFGA |"C" Beef gfed |"Em" Beed BcdB | 
"D" AD (3FED A,D (3FED |"Em" E3 F GFGA |"C" Beed"Em" e3 z ::"Em" g3 a bgeg |"D" f3 g afdf | 
"Em" gfga bgaf |"D" gefd"Em" e2 de |"Em" gfga bgeg |"D" fefg afdf |"C" g2 bg"D" f2 af |1 
"Em" edef"D" gfed :|2"C" edef"D" gfed ||  