### Video Transcript

Completely factor π₯ squared π¦ cubed minus 27π₯ squared minus π¦ cubed plus 27.

Here we have four terms, so we can factor by grouping. So in order to factor by grouping, we must group the first two terms together and the last two terms together. And now we take a greatest common factor out of each set of parentheses.

Out of the first set, we can take out an π₯ squared. And once we take that out, weβre left with π¦ cubed minus 27. Out of the next set, we can take out a negative one. And once we do that, weβre left with π¦ cubed minus 27. So the parentheses match. Thatβs good; thatβs what we want.

So the GCFs come together to be one factor. And the matching parentheses become the other factor. However, we arenβt completely done because each of these factors simplify more. The first factor of π₯ squared minus one is something called a difference of squares. So we if have π squared minus π squared, it would factor to be π plus π π minus π.

So π₯ squared minus one, we would essentially have to square-root each of them to find the π and the π. So the square root of π₯ squared is π₯, and the square root of one is one. So it would turn into π₯ plus one π₯ minus one.

Now for the π¦ cubed minus 27, this is called a difference of cubes. So if we have π cubed minus π cubed, it factors to be π minus π times π squared plus ππ plus π squared. So in order to find π and π, we would have to cube-root π cubed and cube-root π cubed. So if we have π¦ cubed minus 27, we need to cube-root π¦ cubed and we need to cube-root 27. The cube root of π¦ cubed is π¦, and the cube root of 27 is three. So we would have π¦ minus three times π¦ squared plus three π¦ plus nine. So now it is completely factor. So our final answer is π₯ plus one times π₯ minus one times π¦ minus three times π¦ squared plus three π¦ plus nine.