expand (a-b)(a-c)(a-d)