Compose music following the outlined musical form presented in alphabet characters, along with the provided motif.
X:1
L:1/8
M:6/8
K:D
['A, D2 A AFA E2 D DFA', 'd2 A ecA']  
X:1
L:1/8
M:6/8
K:D
 A, |:"D" D2 A AFA |"G" B{c}dF"A" E2 D |"D" DFA AFA |"G" BAB"D" def |"D" DFA AFA |"G" Bcd"D" AFD | 
"Bm" dfd"A" ecA |"G" B3"D" d2 A :|"D" dfd"A" ecA |"G" B<dF"A" E2 D |"D" dfd"A" ecA | 
"G" B3"D" d2 A |"D" dfd"A" ecA |"G" B<dF"A" E2 D |"D" D2 A AFA |"G" B3"D" d2 A ||"D" dfd"A" ecA | 
"G" Bcd"D" AFD |"Bm" dfd"A" ecA |"G" B3"D" d2 f/g/ |"D" agf"A" edc |"G" dcB"D" AFA |"D" DFA AFA | 
"G" BAB"D" d2 |]  