Create a musical composition based on the alphabetic representation of the predetermined pattern and the given melodic theme.
X:1
L:1/8
M:6/8
K:G
['BAG BAG BcB ded', 'B2 d']  
X:1
L:1/8
M:6/8
K:G
 BAG BAG | BcB ded | GAG BAG | A2 A A3 | BAG BAG | BcB ded | d2 g dBG | ABA G3 :| B2 d dcB | 
 c2 e edc | B2 d dBG | c2 A A3 | B2 d dcB | c2 e edc | d2 g dBG | ABA G3 :|  