Develop a musical composition based on the provided pattern of letters and incorporating the given motif within it.
X:1
L:1/4
M:3/4
K:C
['d c e/g/ f/d/ c e']  
X:1
L:1/4
M:3/4
K:C
 d c e/g/ | f/d/ c e | f/f/ g d | e/f/ g f/e/ | d c e/g/ | f/d/ c e | f G B/d/ | c/c/ A F | 
 G F A/c/ | B/G/ F A | c d B | d/f/ e c | d c e/g/ | f/d/ c e | f G B/d/ | B/c/ A F |]  