The corners (x1,y1) and (x2,y2) and (x3,y3) of a triangle.
If (x3,y3)=(0,0)
The area of the triangle =12|x1y1x2y2|
otherwise, area =12|x1y11x2y21x3y31|
the area of the parallelogram:

|x1y1x2y2|