Correct! A and B have the same magnitude of $$5$$. And, while A is pointing towards the right, B is pointing towards the left.