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,
Since w is a length, it cannot be negative; therefore, w=4
Finding l,
The length is 6in and the width is 4in.