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:E
['BA GE E2 B,EGE CEAc', 'abag fedc Bbaf']  
X:1
L:1/8
M:4/4
K:E
|: E2 BA GE E2 | B,EGE CEAc | B2 Bc BGEG | FEFG FBAF | B2 BA GE E2 | B,EGE CEAc | BABc defg |1 
 afdf e4 :|2 afdf e2 |: ga | b2 ba ge e2 | ceac Bega | b2 ba geeg | fgag fBdf |1 b2 ba ge e2 | 
 ceac Bege | abag fedc | Bbaf e2 :|2 egbe dfbB | AceA GBeg | abag fedc | Bbaf e4 ||  