Particle moves from point A to point B along the line shown in figure under the action of force. `Vec F = - x hati + y hatj`. Determine the work done on the particle by `vec F` in moving the particle from point A to point B.
A. 1
B. `1/2`
C. `3/2`
D. 2