If your vector is $x\bold{i}+y\bold{j}$, then you have two equations - one because it needs to be a unit vector and one because it must be perpendicular to the given vector. Can you find these two equations?