Generate musical ideas by integrating the given musical pattern and motif.
X:1
L:1/8
M:4/4
K:G
['b3 a g3 e', 'B3 d edBd edgd edBd (3Bcd ef'  
X:1
L:1/8
M:4/4
K:G
 b3 a g3 e | dB B2 dega | b3 a g3 e | dBGA BA A2 :| B3 d edBd | edgd edBd | (3Bcd ef g3 a | 
 gedB A2 GA | B3 d edBd | edgd edBd | (3Bcd ef g3 a | gedB G4 |]  