Assignment:
Each of the three dimensions of a cube with a volume of x^3 cubic centimeters is increased by a whole number of centimeters. If the new volume is x^3 + 10x^2 + 31x + 30 cubic centimeters and the new height is x + 2 centimeters, then what are the new length and width?
Provide complete and step by step solution for the question and show calculations and use formulas.