The length of a rectangle is 4 inches more than its width. If 2 inches are taken from the length and added to the width and the figure becomes a square with an area of 361 square inches. What are the dimensions of the original figure?