Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/8
Q:1/8=180
M:6/8
K:A
['', 'c2 A ABc BGE', 'cde edc def'  
X:1
L:1/8
Q:1/8=180
M:6/8
K:A
 e/d/ |: c2 A ABc | BGE E2 d | cAc edc | BcB Bed | c2 A ABc | BGE EBd | c/d/ec dBG | AAA Aed :: 
 cde edc | def fed | cAc edc | BGE Eed | cde edc | def fga | ecA dBG |1 Ace aed :|2 Ace a2 ||  