Assuming the formula of a cylinder, with a height of 2r, if the square area of a can of beans is x square inches, and the volume is x cubic inches, what's the value of x?