P = \frac{1}{2} \cdot \left[\matrix{%
x_1&y_1&1\cr
x_2&y_2&1\cr
x_3&y_3&1\cr}\right]