Electron hydrodynamics with a polygon Fermi surface