A particle leaves its orgin with a velocity of 4 i m/s and a constant acceleration of (-2i + .5j) m/s^2. At the time the particle reaches its maximum X corrdinate a) what is its velocity? b) what is its position vector?

I'm not sure which equations i should use. I am confused by this problem