Compose melodic pieces using the decided musical framework and the given motif.
X:1
L:1/8
M:2/2
K:D
['(3(ABc) d2 (ec) ABce dcAF DEFG ABGA', 'D2 A2 (3(ABc) de fefg fdec dcAG'  
X:1
L:1/8
M:2/2
K:D
 (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 :|  