The length of a rectangle is 3 times the side of a square. The width of the rectangle is 5 inches greater than the side of the square. If the area of the square is 4x^2 - 12x + 9 square inches, what are the dimensions of the rectangle?