Formulate melodies by integrating the designated musical pattern and the supplied motif.
X:1
L:1/8
Q:1/4=120
M:6/8
K:G
['G>AG g>fg a>gf g2 b a>gf e>fg', 'B2 d ecA Ace c3 dBG GBd'  
X:1
L:1/8
Q:1/4=120
M:6/8
K:G
"^Jocosely." d | G>AG g>fg | a>gf g2 b | a>gf e>fg | d>ec B2 G | G>AG g>fg | a>gf g2 b | 
 a>gf e>fg | dec B2 |] d | ecA Ace |"^^" e3"^^" c3 | dBG GBd |"^^" d3"^^" B3 | ecA Ac.e | 
 a3"^^" !fermata!f2 (f | g)dB cAF | G3 G2 |]  