Just to clarify, I do not want anyone to do the problem for me. I just need someone to explain this stuff to me because I'm completely lost, and I would really appreciate it if you could take the time to do so.
In the book I've been reading they have this example:
$$\frac{y^3-1}{y^2-1} \div \frac{y^2 + y + 1}{y^2 + 2y + 1}$$
So I understand the basic concept: you flip the fraction so that you're multiplying, then factor everything on top and everything on the bottom, then you cancel things that are the same on top and on the bottom. What I don't understand is, when they factor the numerator, they get rid of a "2" and I'm not really sure how they did that:
$$\frac{y^3 - 1}{y^2 - 1} \div \frac{y^2 + 2y + 1}{y^2 + y + 1}$$
Factor:
$$(y - 1)(y + 1)(y + 1)(y^2 + y + 1) \div (y + 1)(y - 1)(y^2 + y + 1)$$
Cancel things out:
$$y + 1$$
So the problem I have is that they have $(y^3 - 1)(y^2 + 2y + 1)$ on top, but somehow they factor it out to: $(y - 1)(y + 1)(y + 1)(y^2 + y + 1)$; how is that possible? I get that $(y^3 - 1)$ factors out to:
$$(y - 1)(y + 1)(y + 1)$$
but how did they get rid of the "2" in $(y^2 + 2y + 1)$ so that it's $(y^2 + y + 1)$?