The perimeter of a rectangle is 48 centimeters. The relationship between the length, the width, and the perimeter of the rectangle can be described with the equation



`2\cdot\operatorname{length}+2\cdot width=48`



Find the length, in centimeters, if the width is `x` centimeters (answer as an expression)