Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/8
M:4/4
K:D
['cee dee', 'acc ecc'  
X:1
L:1/8
M:4/4
K:D
|: cee dee | cee dcB | cee dee | (3AAA A cBA | cee dee | cee dcB | (3AAA c BcB | A (3cBA AAA :: 
 acc ecc | acc ecc | acc ecc | (3AAA A cBA | acc ecc | acc ecc | (3AAA c BcB | A (3cBA AAA :|  