Compose music following the outlined musical form presented in alphabet characters, along with the provided motif.
X:1
L:1/8
Q:1/8=128
M:4/4
K:G
['d>e d>B']  
X:1
L:1/8
Q:1/8=128
M:4/4
K:G
|: d>e d>B A>G B<d | g>a g>f e>d e<g | d>e d>B A>G B<d | f>g f>e (3(dcB) (3(ABc) | 
 d>e d>B A>G B<d | g>a g>f e>d e<g | f>g f>d c<A F>G | A2 G2 G2 F>G | A>B A>G F<D F<A | 
 d>e d>B A<G B<d | (3(fag) (3(fed) e<g ^c<e | d>e f>e d>c B<c | d>e d>B A>G B<d | g>a g>f e>d e<g | 
 f>g f>d c<A F>G | A2 G2 G4 :|  