Create a musical composition based on the alphabetic representation of the predetermined pattern and the given melodic theme.
X:1
L:1/8
Q:1/4=100
M:4/4
K:G
['d g>agb f>agb g2 dB A3 B', 'G3 G A>BAG A>BAG BdcB A3 d']  
X:1
L:1/8
Q:1/4=100
M:4/4
K:G
 d | g>agb | f>agb | g2 dB | A3 B | G>A Bc | d2 g2 | dBAB | G3 :: G | A>BAG | A>BAG | BdcB | A3 d | 
 g>agb | g>agb | gBAB | G3 :|  