Construct a musical composition following the designated musical form and incorporating the given motif.
X:1
L:1/8
M:6/8
K:D
['ABc d2 e f2 c e2 d', 'c3 cd^d eca e3', 'ABc d2 e f2 c e2 d', 'd dgf dfe ded B3 dc^G'  
X:1
L:1/8
M:6/8
K:D
 ABc d2 e | f2 c e2 d | c2 B A2 B | A2 F A2 z | ABc d2 e | f2 c e2 d | c2 A B2 c | 
 d3- d2 z!fine! || c3 cd^d | eca e3 | efc d3 | dBe E3 | c3 cd^d | eca e3 | efe dBe | A3 a z2 || 
 ABc d2 e | f2 c e2 d | c2 B A2 B | A2 F A2 z | ABc d2 e | f2 c e2 d | c2 A B2 c | d3- d2 || 
[K:G] d | dgf dfe | ded B3 | dc^G Adc | B3 G2 d | dgf dfe | ded B3 | dc^G ABA | G3- G2 z!D.C.! |]  