The length of a rectangle is 5 inches longer than it is wide. If the area is 50 square inches, what are the dimensions of the rectangle?