Okay... I could do that for 2 vectors (x1, x2) and (y1, y2) in a plane.
As for the four-vector proof, I'm not even sure I'm doing it right... My understanding is that I have to take the scalar product of the two vectors A and B. Then I have to apply Lorentz transform to both vectors and...