Compose a piece using the specified musical pattern based on the alphabet notation and provided melodic motif.
X:1
L:1/8
M:6/8
K:Emin
['E3 G2 A B3 d2 c B3', 'afd afd']  
X:1
L:1/8
M:6/8
K:Emin
 E3 G2 A | B3 d2 c | B3 BAG | F3 AFD | E3 G2 A | B3 d2 c | B3 AFD |1 GED E2 D :|2 GED E3 :: 
 e2 f gfe | g2 a bge | def afd | afd afd | e2 f gfe | dfe dBA | BAG FAF |1 GED E3 :|2 GED E2 D ||  