Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/8
Q:1/2=80
M:2/4
K:Amin
['EAA>G EAA>B G>AB>c d/c/B/A/ GB EAA>G EAA>a', "A2 a>bc'b bgae gdeg G>AB>G a>bc'a bgae"  
X:1
L:1/8
Q:1/2=80
M:2/4
K:Amin
 EAA>G | EAA>B | G>AB>c | d/c/B/A/ GB | EAA>G | EAA>a | gd e/d/c/B/ | A2 A2 :: a>bc'b | bgae | 
 gdeg | G>AB>G | a>bc'a | bgae | a>b c'/b/a/g/ | a2 aa/b/ | c'abg | aeg>e | dBgB | G>ABG | EAA>G | 
 DAA>a | gd e/d/c/B/ | A2 A2 :|  