X = t1(0,100,alpha1(255)+alpha3(255))+t1(100,200,alpha1(0)+alpha3(0))+t1(200,300,alpha1(255)+alpha3(255))+t1(300,400,alpha1(0)+alpha3(0))+t1(400,500,alpha1(255)+alpha3(255))+t1(500,600,alpha1(0)+alpha3(0))+t1(600,700,alpha1(255)+alpha3(255))+t1(700,800,alpha1(0)+alpha3(0))+t1(800,900,alpha1(255)+alpha3(255))+t1(900,1000,alpha1(0)+alpha3(0))