(x - y)(x2 + 5y - 6)
Multiply the x times x2 + 5y -6 then multiply -y times it.
X3 + 5xy - 6x - x2y - 5y2 + 6y
Our you can do it up and down (see below).
X2 + 5y - 6
x - y
------
- x2y - 5y2 + 6y
x3 + 5xy - 6x
------
x3 - x2y + 5xy - 6x - 5y2 + 6y
Multiply the x times x2 + 5y -6 then multiply -y times it.
X3 + 5xy - 6x - x2y - 5y2 + 6y
Our you can do it up and down (see below).
X2 + 5y - 6
x - y
------
- x2y - 5y2 + 6y
x3 + 5xy - 6x
------
x3 - x2y + 5xy - 6x - 5y2 + 6y