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:G
['G/A/ B2 B{B} (AGA) E2 F G2', 'G2 G']  
X:1
L:1/8
M:9/8
K:G
 G/A/ | B2 B{B} (AGA) E2 F | G2 G (GB).d e2 e | d2 B ABG E2 G | D2 B TA2 G G2 :| (E/F/) | 
 G2 G GBd e2 f | gfe B2 ^d e2 e | d2 B ABG EFG | D2 B TA2 G G2 G | G2 G (GB).d e2 f | 
 (gf).e B2 f e2 e | d2 B (AB).G EFG | (DGB) (TA2 G) G2 ||  