Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/16
M:2/4
K:C
['C2>C2 E2G2 cded cBAG ABAG', 'g2>a2 gfeg fedf edcB ABAG'  
X:1
L:1/16
M:2/4
K:C
 C2>C2 E2G2 | cded cBAG | ABAG A2a2 | gecd edd2 | C2>C2 E2G2 | cded cBAG | ABAG ABcA | GFED GCC2 :: 
 g2>a2 gfeg | fedf edcB | ABAG A2a2 | gecd edd2 | g2>a2 gfeg | fedf edcB | ABAG ABcA | GCC2 :|  