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:G
['eaa egg', 'A BAA', 'f eAA', 'B d2 B']  
X:1
L:1/8
Q:1/8=160
M:6/8
K:G
 B/d/ | eaa egg | edB A2 d | eaa egg | edB G2 B/d/ | eaa egg | eaa egg | fg/a/f ga/f/g | edB G2 :| 
 A |"^9" BAA BeB | BAB A2 A | BAA BeA | BAB G2 A | BAA BeB | BAB A2 B | def gfg | edB G2 :| f | 
"^17" eAA eAA | edB A2 f | eAA eAA edB G2 f | eAA fAA | eAA fAA | fg/a/f ga/f/g | edB G2 :| B | 
"^25" d2 B d2 B | d2 B A2 B | d2 B d2 B | d2 B G2 B | d2 B d2 B | d2 B A2 d | faf gfe | dBA G2 :|  