Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/8
M:2/4
K:Ador
['eA AB/d/ e>d Bd', 'ea ag/a/ b>a ge'  
X:1
L:1/8
M:2/4
K:Ador
 eA AB/d/ | e>d Bd | eA AB/A/ | G>A Bd | eA AB/d/ | e>d Bd | ed gB | A2 A2 :| ea ag/a/ | b>a ge | 
 dB gB | d/c/B/A/ GE | ea ag/a/ | b>a ge | ed gB | A2 A2 :|  