Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/8
M:6/8
K:G
['BcB BAG', 'g2 d e2 d'  
X:1
L:1/8
M:6/8
K:G
 dc | BcB BAG | Bcd e2 d | BcB BAG | A2 A Adc | BcB BAG | Bcd e2 d | BcB ABA | G3- Gdc | BcB BAG | 
 d2 z e3 | d2 B BAG | A2 A Adc | BcB BAG | d2 z e3 | d2 B AGA | G3 def || g2 d e2 d | g2 d e2 d | 
 BcB BAG | A2 A A2 d | g2 d e2 d | g2 d e2 d | BcB AGA | G3 G2 d :|  