Vacuum-gap and orthogonally aligned double-gate geometry is employed in a nanowire-based electromechanical resonator device to independently control two nearly degenerate orthogonal vibration modes. In the device, piezoresistance is the dominant mechanism of motion-induced conductance variation, which provides an efficient scheme for the self-transduction of vibrational motion into an electric signal. Two simultaneously applied gate voltages induce an opposite combined effect on the frequency shift between two vibration modes, which is well explained by model calculations. Using the opposite double-gate effect, we demonstrate vectorial control of two mode frequencies, which is not possible with single-gate geometry.