expand (a−b)(t−c)(s−k*c)+(b−c)(t−a)(s−k*a)+(c−a)(t−b)(s−k*b)+k*(a−b)(b−c)(c−a)