How to scale, add and subtract 2D vectors