Factor the following:
x^2-9x+18
x^2-49
2y^3+4y^2-30y
x^2-9x+18
x^2-49
2y^3+4y^2-30y