Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/8
Q:1/8=300
M:4/4
K:A
['AcBc Acec dcBc defg', 'Acec dcBc defg'  
X:1
L:1/8
Q:1/8=300
M:4/4
K:A
 cB | AcBc Acec | dcBc defg | aecd edcA | =GABc dB G2 | AcBc Acec | dcBc defg | aecB Aced | 
 c2 B2 A2 :| fg | a2 ec Acec | dcBc defg | aecd edcA | =GABc dB G2 | AcBc Acec | dcBc defg | 
 aecB Aced |1 c2 B2 A2 :|2 c2 B2 !fermata!A4 |]  