Construct a musical composition using the provided motif and maintain the designated form.
X:1
L:1/8
M:4/4
K:Dmix
['D2 ED (3EFG AB cBcd c2 AG', 'eggf g2 ed cded cAGc'  
X:1
L:1/8
M:4/4
K:Dmix
|: D2 ED (3EFG AB | cBcd c2 AG | Add^c d2 cd | ed^cd edcd | D2 ED (3EFG AB | cBcd c2 AG | 
 ABAG EGAB | cAGE ED D2 :: eggf g2 ed | cded cAGc | eaag a2 ag | egag ed^cd | eggf g2 ed | 
 cded cAGc | ABAG EGAB | cAGE ED D2 :|  