Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/8
M:4/4
K:A
['c2 A>c e>f a>e', 'e>c B2'  
X:1
L:1/8
M:4/4
K:A
|: c2 A>c e>f a>e | f<a f/e/c e>c B2 | c2 A>c e>f a>e | f/e/c e>c B2 A2 :| a2 e<a f/e/c e2 | 
 c<e e>f e>c B2 | a2 e<a f/e/c e2 | f>e e>c B2 A2 | a2 e<a f/e/c e2 | c<e e>f e>c B2 | 
 c2 A>c e>f a>e | f/e/c e>c B2 A2 ||  