Generate musical ideas by integrating the given musical pattern and motif.
X:1
L:1/8
Q:1/8=150
M:4/4
K:D
['fg afge dfed cAec ABAG FGAf', 'd2 cd eAGA Agfd eAGA egfa gfec'  
X:1
L:1/8
Q:1/8=150
M:4/4
K:D
 fg | afge dfed | cAec ABAG | FGAf gfed | cecB A2 fg | afge dfed | cAec ABAG | FGAf gedc | 
 d2 d>c d2 :| cd | eAGA Agfd | eAGA egfa | gfec dcBA | GBBd B2 AG | Fdcd cede | dfef efge | 
 fafd egec | d2 d>c d2 :|  