The dimensions of a rectangle in centimetres are 2n - 3 by n + 1 and the area is 817cm2. Determine the dimensions of the rectangle.