Answer:
First, we need to know how to calculate the area and the permiter of a rectangle.
To calculate the area, we multiply base by height and to calculate the perimeter, we sum all sides.
Knowing this, we can say that the area is 3x * (x+5) and the perimiter is 3x + 3x + x + 5 + x + 5, as we know both are the same, we write it as an equation:
![3x * (x+5) = 3x + 3x + x + 5 + x + 5](https://img.qammunity.org/2021/formulas/mathematics/high-school/88sgvpr1epf27fzhvkjetw2ciwlrn3wtuc.png)
Now we solve the equation:
![3x^2 +15x = 6x + 2x + 10](https://img.qammunity.org/2021/formulas/mathematics/high-school/zuogipggpw1qsl21q0ieka7e0bdd73832d.png)
![3x^2+15x =8x + 10](https://img.qammunity.org/2021/formulas/mathematics/high-school/hu1ai5xpl1tp3wvk0yrbdh80lmdnipadzs.png)
![3x^2+15x-8x-10=0](https://img.qammunity.org/2021/formulas/mathematics/high-school/fuwl0zf582sidvpb6lquf4i0vlo3q6bc84.png)
![3x^2+7x-10=0\\\\x_1=(-10)/(3)\\x_2 = 1](https://img.qammunity.org/2021/formulas/mathematics/high-school/3r2mxnywpq0nzgnx432nclr1ahws4x6eti.png)
As the negative result doesn't have sense, we only pick the second one: 1.
If x = 1, then area would be 3*6 = 18 square inches and perimeter 3+3+6+6 = 18 inches