Compose music following the outlined musical form presented in alphabet characters, along with the provided motif.
X:1
L:1/8
M:9/8
K:A
['d c2 d ecA', 'A2 d', 'aec aec A2']  
X:1
L:1/8
M:9/8
K:A
 d | c2 d ecA A2 g | a2 f ecA A2 d | c2 d ecA ABc | Td2 c BGB B2 :: d | Tc>Bc Tc>Bc A2 d | 
 c2 d ecA A2 d | Tc>Bc Tc>Bc A2 c | Td2 c B>GB B2 d | Tc>Bc Tc>Bc A2 d | c2 d ecA A2 d | 
 c2 d ecA aec | Td2 c BGB B2 || e | aec aec A2 a | a2 f ecA A2 g | aec aec A2 c | Td2 c BGB B2 e | 
 aec aec A2 a | e2 f ecA A2 d | cde efg aec | Td2 c BGB B2 :|  