Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/16
M:2/4
K:Edor
['E2EF GFGA'  
X:1
L:1/16
M:2/4
K:Edor
 D2 |"Em" E2EF GFGA |"Em" B2e2 B2>A2 |"D" F2D2 DEFG |"D" A2AB AGFD |"Em" E2EF GFGA | 
"Em" B2e2"A7" B2>A2 |"D" F2d2"B7" B2AF |"Em" E6 :: B2 |"Em" e2e2 BcdB |"Em" e2e2"A7" B2>c2 | 
"D" d2A2"A7" ABAG |"D" FGAF D4 |"Em" E2EF GFGA |"Em" B2e2"A7" B2>A2 |"D" F2d2"B7" B2AF |"Em" E6 :|  