#include<stdio.h>
#include<math.h>
int main()
{
double a,b,c,d,e,f;
double q,w,r;
double t,m,s;
scanf("%lf %lf %lf %lf %lf %lf",&a,&b,&c,&d,&e,&f);
q=sqrt(pow(a-b,2)+pow(c-d,2));
w=sqrt(pow(c-e,2)+pow(d-f,2));
r=sqrt(pow(a-e,2)+pow(b-f,2));
t=(q*q+r*r-w*w)/(2*q*r)*(1.0);
m=sqrt(1-t*t);
s=(1.0)/2*q*r*m;
printf("%.2lf",s);
return 0;
}