Let and separate them so that for .

Then

Multiply them out:

Then .

So, .

At or , you have (making that one of your axes) and at or , you have (making that the other axis).

Note: If exactly one of is the zero vector, you get a line segment. If both are zero, you get only a point.