Find the values of x and y so that the vectors are equal.
For two vectors to be equal, the coefficients of both vectors should be equal.
Comparing the -coefficient, we get x=2
Comparing the -coefficient, we get y=2