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:G
['G2 c BGB', 'gdB gdB AFD g3 def g2 d']  
X:1
L:1/8
M:9/8
K:G
 D | G2 c BGB AFA | G2 c BGB c2 d | e3 dcB AFD | E2 c ABG FED | G2 c BGB AFA | D3 BGB c2 d | 
 e3 dcB AFD | E2 c BcA G2 || gdB gdB AFD | g3 def g2 d | e3 dcB AFD | E2 c ABG FED | gdB gdB AFD | 
 g3 def g2 d | e3 dcB AFD E2 c BcA G2 ||  