The length of a rectangle is 3 m less than twice the width, and the area of the rectangle is 27 m. Find the dimensions of the rectangle.​