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
['e2 d2']  
X:1
L:1/8
M:4/4
K:D
 de |"D" f2 ef e2 d2 | dABd B2 A2 |"G" g2 (3fgf"Em" e2 d2 |"A" BABc B2 A2 |"D" f2 ef e2 d2 | 
 dABd B2 A2 |"G" g2 (3fgf"Em" e2 d2 |1"A" BABc"D" d2 e2 :|2"A" BABc"D" d2 f2 |:"A" e2 f2 g2 fe | 
"D" fefg a2 f2 |"A" e2 ef gfed |"G" cABc"D" B2 A2 |"A" ecef gfeg |"D" fefg a2 gf |"A" ecef gfed |1 
"A" cABc"D" d2 f2 :|2"A" cABc"D" d2 ||  