Compose a piece using the specified musical pattern based on the alphabet and the provided melodic theme.
X:1
L:1/8
M:6/8
K:G
['BGBGBG ABcBAG']  
X:1
L:1/8
M:6/8
K:G
 D | BGBGBG | ABcBAG | FGAFGA | BcBA G2 | BGBGBG | ABcBAG | ABcBAG | FGAF G3 :|  