Compose music following the outlined musical form presented in alphabet characters, along with the provided motif.
X:1
L:1/8
M:3/4
K:D
['d2 d2 fa', 'g4 ec']  
X:1
L:1/8
M:3/4
K:D
 d2 d2 fa | g4 ec | d2 d2 fa | Tg4 ec | (df)(fd)(dA) | (ce)(ec)(cA) | BdcBA^G | A6 :: g4 ec | 
 d2 fd A2 | BAGFED | C2 B,C A,2 | D2 D2 FA | G4 EC | d2 d2 fa | g4 ec | (3BAG FEDC | D6 :|  