Develop a musical composition by integrating the alphabetically represented musical pattern and the supplied melodic theme.
X:1
L:1/8
M:3/4
K:D
['A2 B2', 'd6 gf(ga)(ga) (g2 B2) B2 fe(fg)(fe) d2']  
X:1
L:1/8
M:3/4
K:D
 A2 B2 c2 | d3 e{e} f2 | A2 B2 c2 | d6 | A2 B2 c2 | d3 e{de} f2 | A2 B2 c2 | d6 :| gf(ga)(ga) | 
 (g2 B2) B2 | fe(fg)(fe) | d2 B2 A2 | gfga g2 | fefg f2 | ed(eg)(fe) | (d2 B2) A2 | a3 gfe | 
 d3 e{de} f2 | (A2 B2) c2 | d6 ||  