Hmm... for the first, put them tail to tail as vectors, then think of multiplying by i as rotating by 90 anticlockwise. So yeah.
THe second, head minus tail... OB- OA. Think of it as:
You want to travel the distance and direction AB, doesn't matter where you are, but you can do it by going OB and then AO (-OA) or just going AB. Best to illustrate with the vector arrows.