In general, the area of a rectangle is given by the formula below

where l is its length and w its width.
Furthermore,

Solving the system of equations,

Use the quadratic formula to find w, as shown below,
![\begin{gathered} w^2+2w-24=0 \\ \Rightarrow w=\frac{-2\pm\sqrt[]{4-4\cdot-24}}{2}=\frac{-2\pm\sqrt[]{4-4\cdot-24}}{2}=\frac{-2\pm\sqrt[]{100}}{2} \\ \Rightarrow w=-1-5,-1+5 \\ \Rightarrow w=-6,4 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/high-school/f9am8jxuix8k0ei1kkjgd4bvodc0fev2tl.png)
Since w is a length, it cannot be negative; therefore, w=4
Finding l,

The length is 6in and the width is 4in.