Compose music following the outlined musical form presented in alphabet characters, along with the provided motif.
X:1
L:1/8
M:4/4
K:D
['', 'd2 AG FDFA BGBd cAce f2 fd', 'dfaf dfaf gfef g2 ef gfed cABc']  
X:1
L:1/8
M:4/4
K:D
 A2 |: d2 AG FDFA | BGBd cAce | f2 fd gfed | c2 d2 e3 A | d2 AG FDFA | BGBd cAce | f2 fd gfed | 
 A2 d2 d2 A2 :| dfaf dfaf | gfef g2 ef | gfed cABc | defg f2 fe | dfaf dfaf | gfef g2 ef | 
 gfed cABc | d2 f2 d4 :|  