Construct a musical composition following the designated musical form and incorporating the given motif.
X:1
L:1/8
M:3/4
K:D
['CE DE A(d c)(d', 'A(B/c/ d/e/f/g) a2- af{/g} (3f(ef)'  
X:1
L:1/8
M:3/4
K:D
|: A>G (3F(ED) CE | DE A(d c)(d | e)f g(f e)(d | (3f)(ed) (3c(Bc) c(A | A>)(G (3F)(ED) CE | 
 DE A(d c)(d | e)b bg ed | (3(cBc){/c} d4 :: A(B/c/ d/e/f/g) a2- | af{/g} (3f(ef) eb | 
 bg (3g(eg) (3f(ed) | (3f(ed) (3c(Bc) (d<A) | A(B/c/ d/e/f/g) a2- | af{/g} (3f(ef) (eb) | 
 (bg) (3g(eg) (3f(ed) | (c/A/)(c/e/) d4 :|  