The combined area of a square and a rectangle is 249 square centimeters. the width of the rectangle is 3 centimeters more than the length of a side of the square, and the length of the rectangle is 2 centimeters more than its width. find the dimensions of the square and the rectangle.