#include<iostream>
#include<cmath>
using namespace std;
int main(){
    long long  x1,y1,x2,y2,x3,y3;
    while(cin>>x1>>y1>>x2>>y2>>x3>>y3){
        cout<<11*abs((x1*y2-x2*y1)+(x2*y3-x3*y2)+(x3*y1-x1*y3))<<endl;
    }
    return 0;
}