$${A = k \frac{x_1 + x_0}{2} (x_1 - x_2)}$$