Create a musical composition based on the alphabetic representation of the predetermined pattern and the given melodic 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 | B2 A2 z B | ce d3 B | dB G3 d | eg B3 A | G4 :|  