Compose a musical piece utilizing the given motif as the foundation while maintaining the required musical form.
X:1
L:1/8
M:3/4
K:Emin
['EF G3 A B2 g3 f e2']  
X:1
L:1/8
M:3/4
K:Emin
|: EF | G3 A B2 | g3 f e2 | d3 B G2 | A4 EF | G3 A B2 | g3 f e2 | B e3 ^d2 | e4 :|  