Compose a musical work that seamlessly incorporates the assigned motif and abides by the given alphabetical pattern.
X:1
L:1/8
Q:1/8=160
M:6/8
K:Emin
['E2 B BAB', 'G2 B', '']  
X:1
L:1/8
Q:1/8=160
M:6/8
K:Emin
 GBG FAF | E2 B BAB | GBG FAF | D2 A AFD | G3 F3 | E2 B BAB | G2 B dBG | ABG FED :| G2 B dBd | 
 edB dBA | G2 B dBG | ABG FED | G2 B d^cd | edB def | gfe dBG | ABG FED :|"^last" G3 F3 | E6 ||  