Construct melodies using the designated musical pattern and the provided motif.
X:1
L:1/8
Q:1/2=100
M:4/4
K:G
['G2 GA BGBd', 'G2 (3def gfga gbag fefg fagf edef'  
X:1
L:1/8
Q:1/2=100
M:4/4
K:G
"^*" FE | D2 EF G2 GA | BGBd cBAG | GFGE DEFG | AFdF E2 FE | D2 G2 G2 GA | BGBd g2 fe | dcBA GFGA | 
 B2 G2 G2 :: (3def | gfga gbag | fefg fagf | edef gfed | B2 e2 e2 fg | cBAG d2 cB | edef g2 fe | 
 dcBA GFGA | B2 G2 G2 :|  