Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/8
Q:1/8=260
M:4/4
K:G
['D<GG>A G>AGD EAA>B c>BAG Bdd>e ga{a} b>a', "A>BAG G>gg>a g>agd e>aa>c' a>bag b>age dg/a/"  
X:1
L:1/8
Q:1/8=260
M:4/4
K:G
 D<GG>A G>AGD | EAA>B c>BAG | Bdd>e ga{a} b>a | g>edB A>BAG :| G>gg>a g>agd | e>aa>c' a>bag | 
 b>age dg/a/ b>a | ge e/d/c/B/ A>BAG :|  