Electron focusing effects in the in-plane gated structures