Develop a musical composition based on the provided pattern of letters and incorporating the given motif within it.
X:1
L:1/8
Q:1/4=100
M:2/2
K:Eb
['e3 g', 'fdBd f3 a', 'dB TB2({AB)} cABG', 'ecAc ef=ge fdcd AFED f^dBd fgaf gef^d']  
X:1
L:1/8
Q:1/4=100
M:2/2
K:Eb
 eB GE e3 g | fedc BAGF | GEGB e3 g | fedc B4 :: fdBd f3 a | gaba bgeg | fdBd f3 a | gfed e4 | 
 gbeg fbdf | ecBG FDCB, | CEDF EGFA | GFED E4 :|[M:2/4][K:A][Q:1/4=100] Ac Tc2({AB)} | 
 dB TB2({AB)} | cABG | AECA, | Ac Tc2({Bc)} | dB TB2({AB)} | cABG | A2 A,2 :: ecAc | ef=ge | fdcd | 
 AFED | f^dBd | fgaf | gef^d | e4 | gbeg | fadf | ecac | BGFE | FAGB | AcBd | cABG | A4 :|  