All you did was calculate the length of the hypotenuse of a 30-60-90 triangle—which you knew from the outset.
To do this problem, you need to realize that the 1-meter stick has 2 velocity components (x and y), and is Lorentz-contracted only in the x direction.