Design a music composition that employs the provided motif and follows the predetermined musical form.
X:1
L:1/8
M:12/8
K:D
['d2 d ded c2 E EFG ABA', 'f2 d d2 c d2 f agf'  
X:1
L:1/8
M:12/8
K:D
|: A | d2 d ded c2 E EFG | ABA A2 G F2 D DFA | d2 d ded c2 E EFG | ABA GFE d3 d2 :: e | 
 f2 d d2 c d2 f agf | e2 A A2 c e2 f gfe | f2 d d2 c d2 f agf | e2 A ABc d3 d2 :|  