Compose music following the outlined musical form presented in alphabet characters, along with the provided motif.
X:1
L:1/8
M:9/8
K:A
['a2 f gfe cBG A2 e cBG', 'f gfe']  
X:1
L:1/8
M:9/8
K:A
|: a2 f gfe cBG | A2 e cBG AGE | CEF GFB AGF | B2 c ^dcB efg | a2 f gfe cBG | A2 e cBG AGE | 
 CEF GFB AGF | Bcd cBA F3 :: B2 B Bcd dcB | c2 c cde edc | dce cfc ec^d | e2 f gfe bag | 
 a2 f gfe cBG | A2 e cBG AGE | CEF GFB AGF | Bcd cBA F3 :|  