Compose musical pieces based on the predetermined pattern and incorporating the given motif.
X:1
L:1/8
M:4/4
K:C
['(3(ABc) d2 (ec) ABce dcAF DEFG ABGA', 'D2 A2 (3(ABc) de fefg fdec dcAG'  
X:1
L:1/8
M:4/4
K:C
[M:2/2][K:D] .abc (3(ABc) | d2 (ec) ABce | dcAF DEFG | ABGA FGAB | c2 AA A2 (3(ABc) | 
 d2 (ec) ABce | dcAF DEFG | ABGA FDEC | D2 DD D2 :: A2 | (3(ABc) de fefg | fdec dcAG | 
 A2 (AG) FGAB | c2 AA A3 g | fdec d2 (cA) | BGAF DEFG | ABGA FDEC | D2 DD D2 :|  