Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/16
Q:1/4=90
M:2/4
K:Amin
['cded cA A2', 'cdef g2 ^fg'  
X:1
L:1/16
Q:1/4=90
M:2/4
K:Amin
 cded cA A2 | BGdc BG G2 | cded cA A2 | EDEG A2 A2 :| cdef g2 ^fg | aged cA A2 | cdef g2 ^fg | 
 ageg a2 a2 | cdef g2 ^fg | aged cA A2 | cded cA A2 | EDEG A2 A2 |]  