Generate musical ideas by integrating the given musical pattern and motif.
X:1
L:1/4
M:4/4
K:G
['E D3/2 D/ G B A G', 'g3/2 e/ d B A3/2'  
X:1
L:1/4
M:4/4
K:G
"^A" e | d B A3/2 E/ | E E D3/2 D/ | G B A G | A2 e2 | d B A3/2 G/ | A E D3/2 D/ | G B A G | 
 d2 G ||"^B" z/ B/ | B d g3/2 e/ | d B A3/2 G/ | B d g3/2 d/ | e2 g3/2 e/ | d B A3/2 E/ | 
 E E D3/2 D/ | G B A G | d2 G ||  