y = x^3 and y= (x+2)(x+12)