Develop a musical composition by integrating the alphabetically represented musical pattern and the supplied melodic theme.
X:1
L:1/16
M:2/4
K:D
['A2GA B2A2 ABcA d4 E2>F2', 'A2BA GABc d2>c2 B2GA B2GA B2GB c2>B2']  
X:1
L:1/16
M:2/4
K:D
|: A2GA B2A2 | ABcA d4 | E2>F2 GFED | E2>F2 GFED | A2GA B2A2 | ABcA d4 | E2>F2 G2E2 |1 D4 D4 :|2 
 D4 d2>c2 |:[K:G] B2GA B2GA | B2GB c2>B2 | A2FG A2BA | GABc d2>c2 | B2GA B2GA | B2GB c2>B2 | 
 ABAG FDEF |1 G2B2 d2>c2 :|2 G2B2 G4 ||  