Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/8
M:4/4
K:C
['ecBd cBGF DEB,D', 'GF DCB,G, B,CEG c3 A BGFD Gc'  
X:1
L:1/8
M:4/4
K:C
 GF | (3EFG CD EFGA | _B3 G c=Bcd | ecBd cBGF | DEB,D G,DGE |{G} F2 EC DE{G}FD | GABG cBcd | 
 ecBd cBGF | DEB,D C3 D | (3EFG CD EFGA | _BABG c3 d | ecBd cBGF | DEB,D G,DGE |{G} F2 EC DE{G}FD | 
 GABG cBcd | ecBd cBGF | DEB,D C3 E |: Gc c2 e^fdg | cBGA _B2 GF | DCB,G, B,CEG | c3 A BGFD | 
 Gc c2 e^fdg | cBGA Bcdf | ecBd cBGF |1 DEB,D C2 EF :|2 DEB,D C3 D ||  