What is the dimensions of a rectangle with a perimeter of 26 inches and a area of 42 square inches?

Its dimensions are 6 inches by 7 inches because 2(6+7)=26 inches and 6*7=42 square inches