Develop a musical composition by integrating the alphabetically represented musical pattern and the supplied melodic theme.
X:1
L:1/8
M:9/8
K:Gdor
['B>AG GD^F G2', 'cAF g2 g gdg g2 a bag']  
X:1
L:1/8
M:9/8
K:Gdor
 A | B>AG GD^F G2 A | B>AG B>cd cA^F | B>AG GD^F G2 G | FGF f2 d cAF || g2 g gdg g2 a | 
 bag gab ag^f | bag ag^f g2 G | BcB f2 d cAF |]  