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/2
K:Edor
['E2 Bd', 'ceAc defe dcBc def^g aecA d2 fe']  
X:1
L:1/8
M:2/2
K:Edor
 E2 Bd cABE | E2 BG FADF | E2 Bd cABc |1 dfec dAFD :|2 dfec dAFA || d2 fe dcBd | (3cBA eA ceAc | 
 defe dcBc | def^g aecA | d2 fe dcBd | (3cBA eA ceAa | faec dcBa | ^gbe^g aecA ||  