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
['ABd edd gdd', 'B2 B']  
X:1
L:1/8
M:6/8
K:G
|: G3 GAB | A3 ABd | edd gdd | edB dBA | GAG GAB | ABA ABd | edd gdd | BAF G3 :| B2 B d2 d | 
 ege dBA | B2 B dBG | ABA AGA | BAB d^cd | ege dBd | gfg aga | bgg g3 :|  