Develop a musical piece incorporating the designated alphabet-based pattern and the supplied melodic theme.
X:1
L:1/8
M:4/4
K:Edor
['EBBA B2 EB B2 AB', 'eB B/B/B']  
X:1
L:1/8
M:4/4
K:Edor
 z | EBBA B2 EB | B2 AB dBAG | (3FED AD BDAD | FAdB ADFD | EBBA B2 EB | B2 AB defg | afge dBAF |1 
 DEFD E3 :|2 DEFD E || gfg | eB B/B/B eBgB | eB B/B/B gfed | A2 FA dAFB | ADFA Bcdf | 
 eB B/B/B eBgf | edBc defg | afge dBAF |1 DEFD E :|2 DEFD E3 |]  