Develop a musical composition based on the provided pattern of letters and incorporating the given motif within it.
X:1
L:1/8
Q:3/8=70
M:6/8
K:D
['a/f/ ddd{f} dcd ede cBA ddd eee', 'A/G/ FDd BGe cAc d/e/f/g/a bge afd', 'a (a2 f) (f2 d)']  
X:1
L:1/8
Q:3/8=70
M:6/8
K:D
 a/f/ | ddd{f} dcd | ede cBA | ddd eee | fga e2 a/g/ | fff ddd | gfg b2 b | afd{f} ede | fdd d2 :: 
 A/G/ | FDd BGe | cAc d/e/f/g/a | bge afd | (f2 g/f/) e2 A/G/ | FDd BGe | cAc d/e/f/g/a | bge afd | 
 gec d2 :: a | (a2 f) (f2 d) | (d2 A) A2 f | .g(g/a/g) .f(f/g/f) | ecA A2 a | (a2 f) (f2 d) | 
 B2 g g2 b | afd{f} ede | fdd d2 :|  