Compose music that abides by the dictated structure and encompass the given theme
X:1
L:1/8
M:3/4
K:G
['B ce d3 B']  
X:1
L:1/8
M:3/4
K:G
 A | BA G3 A | BA G3 B | ce d3 B | A4 z B | ce d3 B | dB G3 d | eg B2 A2 | G4 z ||  