The length of a rectangle is 4 centimeters less than its width. What are the dimensions of the rectangle if its area is 45 square​ centimeters?