Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/8
M:6/4
K:Amix
['A2 (c e3) E2', '(e c3)'  
X:1
L:1/8
M:6/4
K:Amix
 A2 | (c e3) E2 A4 B2 | (c B3) c2 d4 c2 | (B F3) ^G2 A3 B A2 | ^G6 E4 A2 | (c e3) E2 A3 BcA | 
 d3 e(fe) (g f3) (ed) | (c A3) E2 (A F3) A2 | (B ^G3) E2 A4 :: e2 | (a f3) e2 (e c3) A2 | 
 (cd e2) f2 (ef g2) g2 | (f d3) f2 (f e3) (dc) | (d c3) (BA) (B E3) B2 | (G B3) e2 (c A3) e2 | 
 (f d3) f2 (e c3) e2 | (fg a2) f2 (e c3) (BA) | (^GA B2) E2 !fermata!A4 |]  