Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/8
M:3/4
K:C
['cB A2', 'cA GA'  
X:1
L:1/8
M:3/4
K:C
 Ac | d2 d2 cd/e/ | d4 cd | e2 g2 e/f/e/d/ | Tc4 cB | A2 d2 de | Td4 cB | A2 GE DC | D4 || EG | 
 A>B AG EG | A2 D2 EG | A>B AG EG | TA2 D2 EG | c>d cA GA | c2 E2 GA | c>d cA GA | Tc4 Ac | 
 d2 d2 fe | Td4 cA | GA cA GE | D4 |]  