Construct a musical composition following the designated musical form and incorporating the given motif.
X:1
L:1/8
M:6/8
K:D
['A d2 d{d} cBc d3 def |{a}', 'CEG A2 F D2'  
X:1
L:1/8
M:6/8
K:D
 A | d2 d{d} cBc | d3 def |{a} gfg e2 a |{g} (Tf3 e2) A | B2 B Bcd | AFD D2 d | Bgf edc | d3- d2 :: 
 A | AGF CEG | A2 F D2 F | AGE CEG | A2 F D2 A | BGD ddd | AFD Ddd | ABA AGF | (F3 E2) A | 
 d2 d cBc | d3 def |{a} gfg e2 a |{g} (Tf3 e2) A | B2 B Bcd | AFD D2 d | Bgf edc | d3 D2 :|  