Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/8
M:2/2
K:Edor
['.EBBB d.BBB E.BBB F.AF.A B.EEA .B2 Bc', 'B.eed e2'  
X:1
L:1/8
M:2/2
K:Edor
 .EBBB d.BBB | E.BBB F.AF.A | B.EEA .B2 Bc | d.fed dBAF :| B.eed e2 de | f.ede f.e e2 | 
 f.ebe f.ebe | fede f.e e2 | B.eed e2 .de | f.ede faaf | bbbf aaaf | (3efg.fe d.BAF |]  