The perimeter of a rectangle is 38 inches, and its area is 70 square inches. Find the length and width of the rectangle.