Hi
Perimeter is the sum of all sides of the rectangle.
It have 2 width
2 length ( x²+1)
So : one width is (x+22) so 2 is 2 * (x+22)
length is (x²+1) so 2 is 2* ( x²+1)
So perimeter is : 2 (x+22) + 2 (x²+1)
2 ( x+22 +x²+1)
2 ( x²+x+23)
perimeter is : 2x² +2x+ 46