The sum of length and width is half the perimeter, so that sum is 26 inches.
If length and width were equal, they would both be 26/2 = 13 inches. Adding 2 inches to one dimension and subtracting 2 inches from the other will keep the sum the same and make them differ by 4 inches.
The length and width are 15 inches and 11 inches, respectively.