Develop a musical composition based on the provided pattern of letters and incorporating the given motif within it.
X:1
L:1/8
M:2/4
K:A
['f e>cc>B c>A TF2 |{EFG} AA A/B/c/d/e', 'aecA cefg Ta2 gb agaf eccB cFGE']  
X:1
L:1/8
M:2/4
K:A
 f | e>cc>B | c>A TF2 |{EFG} AA A/B/c/d/e |{^d} e2 c>f | e>cc>B |{AB} c>A F>A | GB E/F/G/E/ | 
 A2 A :: B | cefg | aecA | cefg | Ta2 gb | agaf | eccB | cFGE | A2 A :|  