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>AA>A A>FA>A f>aA>f e>dB<d f>AA>A B>AF>A', 'e>dB<d f<ab>a a<f e>d d<dee g>ef>e f<ab>a']  
X:1
L:1/8
M:4/4
K:D
 f>AA>A A>FA>A | f>aA>f e>dB<d | f>AA>A B>AF>A | a>ef>d e>dB<d :: f<ab>a a<f e>d | d<dee g>ef>e | 
 f<ab>a a<fe>d | g>ef>d B>AB<d :|  