Compose musical pieces based on the predetermined pattern and incorporating the given motif.
X:1
L:1/8
Q:1/8=150
M:4/4
K:D
['fg afge dfed ceAA ABAG FAdf', 'd2 cd eAGA fAgA eAGA f2 ef'  
X:1
L:1/8
Q:1/8=150
M:4/4
K:D
 fg | afge dfed | ceAA ABAG | FAdf gecd | (3efe (3dcB A2 fg | afge dfed | ceAA ABAG | FAdf gece | 
 d2 dd d2 :| cd | eAGA fAgA | eAGA f2 ef | gfge dfec | dcdB A2 AG | FA A2 GB B2 | AFAd gfed | 
 cdef gece | d2 dd d2 :|  