Generate music with the following musical form represented in alphabets and the given motif.
X:1
L:1/4
M:3/4
K:G
['B B']  
X:1
L:1/4
M:3/4
K:G
 D | G D G/B/ | d2 c | B B G/B/ | d B e | d c A | B z d | B d e/d/ | c/d/ e d/c/ | B B d/B/ | 
 A z G/A/ | B c d | e d c/A/ | B z |]  