Compose music following the outlined musical form presented in alphabet characters, along with the provided motif.
X:1
L:1/4
M:4/4
K:G
['G B']  
X:1
L:1/4
M:4/4
K:G
 G B G B | G B c/B/A/G/ | F A F A | F A B/A/G/F/ | G B G B | G B d d | c/B/A/G/ F/G/A/B/ | G2 G z | 
 g f/e/ d c | B c d2 | g F/E/ d c | B/c/ d A2 | g f/e/ d c | B c d2 | c/B/A/G/ F/G/A/B/ | G2 G z |]  