Develop a musical composition based on the provided pattern of letters and incorporating the given motif within it.
X:1
L:1/8
M:4/4
K:D
['f e']  
X:1
L:1/8
M:4/4
K:D
 B3/2 a/ f e B2 B f | e2 f e d2 B2 | B2 e e e2 e B | A3/2 B/ G F E4 | B2 B2 e3/2 a/ e d | 
 a c B A G z G E | d e2 A B d A F | E8 |]  