We are given that the area of a rectangle is given by the following function:
![A=y^2+4y-5](https://img.qammunity.org/2023/formulas/mathematics/college/aja2tdvufqevgrtvj3godwnnbksyf7ttha.png)
The area of a rectangle is the product of its width by its length:
![A=wl](https://img.qammunity.org/2023/formulas/mathematics/high-school/jw1tiv8yl5al1lvyyixox3n0s2pe0v9x2j.png)
We are given that the width is:
![w=y-1](https://img.qammunity.org/2023/formulas/mathematics/college/li27yhgpgs7lcv2wvuik2lzw42no34o6c6.png)
Replacing in the formula for the area we get:
![y^2+4y-5=(y-1)l](https://img.qammunity.org/2023/formulas/mathematics/college/eu8h4eeu6q2o9waf36ygphe0fmuvyxwt0u.png)
Since the area is a quadratic equation this means that for the product of the given width by the length to yield a quadratic equation the length must be of the form:
![l=y-b](https://img.qammunity.org/2023/formulas/mathematics/college/o7abb6aduitfr1ccd1575kr5rfp5rki65i.png)
Replacing in the formula for the area:
![y^2+4y-5=(y-1)(y-b)](https://img.qammunity.org/2023/formulas/mathematics/college/g5f09xetl1mkyq4yr715qvbqogls2i1ks1.png)
Now we need to determine the value of "b" to do that we will first solve the product on the right side.
![y^2+4y-5=y^2-by-y+b](https://img.qammunity.org/2023/formulas/mathematics/college/km2xlkl49fjpw7v6f5wwedoq1aoeri5o6j.png)
Now we subtract "y squared" from both sides:
![4y-5=-by-y+b](https://img.qammunity.org/2023/formulas/mathematics/college/6bqg203cldaohcaj7g5muou884io2c49m7.png)
Now we associate the terms that are multiplied by "y" on the right side:
![4y-5=(-by-y)+b](https://img.qammunity.org/2023/formulas/mathematics/college/cse1qgnmln8g4b222cf5v6cmcktrytszej.png)
Now we take common factor on the associated terms;
![4y-5=y(-b-1)+b](https://img.qammunity.org/2023/formulas/mathematics/college/8ws9762egqy9dhx2xv22rr2rg6v0id4agh.png)
Now each coefficient for the expression on the left side and the right side must be the same, therefore we have:
![-b-1=4\text{ and -5=b}](https://img.qammunity.org/2023/formulas/mathematics/college/ymkclb0yi1ht1w1qc054c4kaji50393c3x.png)
We get that b = -5. Therefore, the length of the floor must be equal to:
![\begin{gathered} l=y-(-5) \\ l=y+5 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/6g61gd187dpqmkvkzyqelg9adw5bb5ysdd.png)