Compose music following the outlined musical form presented in alphabet characters, along with the provided motif.
X:1
L:1/16
M:2/4
K:D
['d2 d4 cd', 'AFDF AFdA', 'd2>e2 f2f2']  
X:1
L:1/16
M:2/4
K:D
 A2 | d2 d4 cd | fedc BABc | d2 d4 cd | e4 a2A2 | d2 d4 cd | fedc BABc | dfBd egce | d2d2d2 |] 
 !fermata!z2 | AFDF AFdA | B2B2 B4 | ecAc ecge | d2d2 d4 | AFDF AFdA | BGEG BGdB | Aceg fedc | 
 dDEF GAB"^D.C."c |][K:Dmin] A2 | d2>e2 f2f2 | e2a2a2A2 | d2>e2 f2f2 | e2A2A2A2 | d2>e2 f2f2 | 
 e2a2a2A2 | eadf eg^ce | dDE^F GA=B"^D.C."^c |]  