#include<iostream>
#include<iomanip>
#include<cmath>
using namespace std;
int main (){
float x1,y1,x2,y2,x3,y3;
cin >>x1>>y1>>x2>>y2>>x3>>y3;
float sum=0.5*abs((x2-x1)*(y3-y1)-(y2-y1)*(x3-x1));
cout<<fixed<<setprecision(2)<<sum;
return 0;
}
02-22
1429