Develop a musical composition by integrating the alphabetically represented musical pattern and the supplied melodic theme.
X:1
L:1/8
M:6/8
K:D
['ABA A2 F', 'AFA d2 A']  
X:1
L:1/8
M:6/8
K:D
 ABA A2 F | D2 E F2 G | ABA A2 F | G3 B3 | ABA A2 F | D2 E FED | E2 D E2 F | G3 B3 :: AFA d2 A | 
 BAB d2 B | AFA d2 A | B3 d3 | AFA d2 A | BAB D2 F | E2 D E2 F | G3 B3 :|  