Compose music following the outlined musical form presented in alphabet characters, along with the provided motif.
X:1
L:1/8
Q:1/8=160
M:6/8
K:D
['G ABA AFD dfe d2 c BGB', 'd2 f afd dfa bge efg faf']  
X:1
L:1/8
Q:1/8=160
M:6/8
K:D
 G | ABA AFD | dfe d2 c | BGB dAF | GEE E2 G | AFA dcd | BGB e/f/ge | agf ede | fdd d2 :| f | 
 afd dfa | bge efg | faf ged | ecA A2 G | Fdd cee | dff efg | f/g/af ede | fdd d2 :|  