We are interested in the dimensions of a certain rectangle. This rectangle has length triple the side of the square and width two units less than the side of the square. If the two areas are equal, what are the rectangle's dimensions (w x h)?