Compose melodic phrases utilizing the specified musical pattern and the provided motif.
X:1
L:1/8
Q:1/8=130
M:2/2
K:G
['gfed B2 AB dBA/B/A', 'gfed B2 AB'  
X:1
L:1/8
Q:1/8=130
M:2/2
K:G
"^set dance" ef | gfed B2 AB | dBA/B/A GEDE | G2 GA Bdef | gfed B2 AB | dBA/B/A G2 G2 | G6 :| A2 | 
 Bdef g2 fg | agfg e3 e | fedB dBAB | d2 d2 d2 ef | g2 ga gfed | Bd/B/AG EDB,D | 
 G2 GA B/d/B/A/ Bd | edef g2 ef | gfed B2 AB | dB/A/BA GEDE | G2 GA Bdef | gfed B2 AB | 
 dBA/B/A G2 G2 | G4- G4 |]  