[SOLVED] Factoring Polynomials

Hello, All,

I my teacher put our math test off till next class. I did not bring my notebook (thinking we were going to test), so I could not ask my 3 questions. She added the section I had questions about to the test. Please help me:

The directions are,"Factor each term"

I have three problems here, and if one of you guys could just work them out, I will be able to see the patterns. I know the answers, but I just need to see how they are worked out.

I tried googling "factoring polynomials) and this forum, but I guess I don't know how to look, so thanks again for your patience.

(x+3)(x+1)-y(x+1)

$\displaystyle (3x-y)(x^2-2)+(x^2-2)$

$\displaystyle 3x(y+z)-9x(y+z)^2$

Sorry 'bout the squares. There is a problem with my superscript.