{"trustable":false,"sections":[{"title":"","value":{"format":"HTML","content":"\u003cp\u003e\r\n\tIn the picture below you can see a triangle ABC. Point D, E and F divides the sides BC, CA and AB into ratio 1:2 respectively. That is CD\u003d2BD, AE\u003d2CE and BF\u003d2AF. A, D; B, E and C, F are connected. AD and BE intersects at P, BE and CF intersects at Q and CF and AD intersects at R.\u003c/p\u003e\r\n\u003cp align\u003d\"center\"\u003e\r\n\t\u003cimg height\u003d\"301\" src\u003d\"http://uva.onlinejudge.org/external/114/p11437.jpg\" width\u003d\"457\" /\u003e\u003c/p\u003e\r\n\u003cp\u003e\r\n\tSo now a new triangle PQR is formed. Given triangle ABC your job is to find the area of triangle PQR.\u003c/p\u003e"}},{"title":"Input","value":{"format":"HTML","content":"\u003cp\u003e\r\n\tFirst line of the input file contains an integer N (0\u0026lt;N\u0026lt;1001) which denotes how many sets of inputs are there. Input for each set contains six floating-point number A\u003csub\u003ex\u003c/sub\u003e, A\u003csub\u003ey\u003c/sub\u003e, B\u003csub\u003ex\u003c/sub\u003e, B\u003csub\u003ey\u003c/sub\u003e, C\u003csub\u003ex\u003c/sub\u003e, C\u003csub\u003ey\u003c/sub\u003e. (0\u0026le;A\u003csub\u003ex\u003c/sub\u003e, A\u003csub\u003ey\u003c/sub\u003e, B\u003csub\u003ex\u003c/sub\u003e, B\u003csub\u003ey\u003c/sub\u003e, C\u003csub\u003ex\u003c/sub\u003e,C\u003csub\u003ey\u003c/sub\u003e \u0026le;10000) in one line line. These six numbers denote that the coordinate of points A, B and C are (A\u003csub\u003ex\u003c/sub\u003e, A\u003csub\u003ey\u003c/sub\u003e), (B\u003csub\u003ex\u003c/sub\u003e, B\u003csub\u003ey\u003c/sub\u003e) and (C\u003csub\u003ex\u003c/sub\u003e, C\u003csub\u003ey\u003c/sub\u003e) respectively. A, B and C will never be collinear.\u003c/p\u003e"}},{"title":"Output","value":{"format":"HTML","content":"\u003cp\u003e\r\n\tFor each set of input produce one line of output. This one line contains an integer AREA. Here AREA is the area of triangle PQR, rounded to the nearest integer.\u003c/p\u003e"}},{"title":"Sample Input","value":{"format":"HTML","content":"\u003cp\u003e\r\n\t2\u003cbr /\u003e\r\n\t3994.707 9251.677 4152.916 7157.810 5156.835 2551.972\u003cbr /\u003e\r\n\t6903.233 3540.932 5171.382 3708.015 213.959 2519.852\u003c/p\u003e"}},{"title":"Sample Output","value":{"format":"HTML","content":"\u003cp\u003e\r\n\t98099\u003cbr /\u003e\r\n\t206144\u003c/p\u003e"}}]}