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:G
['dB^A BEF G2 =A B^AB', 'e2 e']  
X:1
L:1/8
M:6/8
K:G
 gg/f/e dB^A | BEF G2 =A | B^AB def | g2 b =agf | e/f/ge dB^A | BEF G2 =A | B^AB d^cd | e3 e2 :| 
 ee/e/e e^de | f/g/ag fe=d | e2 e efg | a2 g faf | e2 e e^de | fag fe=d |1 B^AB dd/e/f | 
 g2 e f2 :|2 B^AB d^cd | e3 e2 ||  