The vector ^i+x^j+3^k is rotated through an angle θ and is doubled in magnitude. It now becomes 4^i+(4x−2)^j+2^k. The values of x are