Develop a musical composition by integrating the alphabetically represented musical pattern and the supplied melodic theme.
X:1
L:1/8
M:2/2
K:D
['(fg) afge dfed cdec A3 G FAdf', '[Fd]2 (cd) (eA)AA (fA)AA (gA)AA A3 f']  
X:1
L:1/8
M:2/2
K:D
 (fg) | afge dfed | cdec A3 G | FAdf gfed | (ce)AA A2 (fg) | afge dfed | cdec A3 G | FAdf gecA | 
 d2 [Fd]2 [Fd]2 :: (cd) | (eA)AA (fA)AA | (gA)AA A3 f | (gf)ed (dc)BA | (GB)BB B3 A | Fddd Aeee | 
 (df)ff (eg)gg | (fg)af (bg)ec | d2 [Fd]2 [Fd]2 :|  