The perimeter of the rectangle is 42 centimeters. The length of the rectangle can be represented by (x+4), and its width can be represented by (2x - 7). The perimeter of the rectangle can be found using P = 21 + 2w. What are the dimensions of this rectangle in centimeters?