Compose music following the outlined musical form presented in alphabet characters, along with the provided motif.
X:1
L:1/8
Q:3/8=80
M:6/8
K:G
['A>BA ABd e/f/gG GDE G>AG']  
X:1
L:1/8
Q:3/8=80
M:6/8
K:G
 g/d/ | B>AG GDE | A>BA ABd | e/f/gG GDE | G>AG B2 G | cd/c/B/A/ Bc/B/A/G/ | A>BA ABd | 
 e/f/gG GDE | G>AG G2 |:  