Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/8
M:6/8
K:G
['E3 BEB', 'fee aee fee efe fef a2 g', 'fee bee'  
X:1
L:1/8
M:6/8
K:G
"^tr" E3 BEB | EBE AFD |"^tr" E3 BEB | edB AFD | E3 BEB | EBE AFD | EBE BEB | edB AFD :| eee fee | 
 aee fee | efe fef | a2 g fed | eee fee | bee fee | e/f/ge fde | dcB AFD || eee fee | bee fee | 
 bee fef | a2 f def | gba/g/ fag/f/ | egf/e/ def/g/ | egf/e/ d2 A | BAG FED ||  