ax+by+cz-bx-cy-az = (a-b)(x-y)+(a-c)(y-z)