Develop a musical composition based on the provided pattern of letters and incorporating the given motif within it.
X:1
L:1/8
Q:1/4=112
M:2/4
K:D
['DFAd c(B/c/) A2 Aceg f(e/f/) dd f(f/a/)', 'd2 e2 (d/c/)(B/A/) .e.e(cA) a2 (g/f/e/d/) .a.a', 'Adfa |{b} a2', 'B2 Af g/e/d/c/ |{e} (d/c/d/e/) dd AA']  
X:1
L:1/8
Q:1/4=112
M:2/4
K:D
 DFAd | c(B/c/) A2 | Aceg | f(e/f/) dd | f(f/a/) .g.g | e(e/g/) .f.f | d(d/f/) ee | cc d2 :: 
 e2 (d/c/)(B/A/) | .e.e(cA) | a2 (g/f/e/d/) | .a.a fd | f(f/a/) .g.g | (ee/g/) .f.f | 
 d(d/f/) .e.e | cc d2 :: Adfa |{b} a2 gf | gedc | (d/c/d/e/) dd | Adfa |{b} a2 ge | gedc | d2 d2 :: 
 AA B/A/G/F/ | GB B2 | Af g/e/d/c/ |{e} (d/c/d/e/) dd | AA (B/A/)(G/F/) | GB B2 | 
 (A/c/).e/.f/ (g/e/).d/.c/ | d2 d2 :|  