we have that the measures of the rectangle are the following:
[tex]\begin{gathered} l=5+w \\ w=\text{width} \end{gathered}[/tex]then the area is:
[tex]A=l\cdot w=(5+2)w=5w+w^2[/tex]since the area is 84m^2, we have the following equation:
[tex]\begin{gathered} 84=5w+w^2 \\ \Rightarrow w^2+5w-84=0 \\ \Rightarrow(w+12)(w-7)=0 \end{gathered}[/tex]we have that the solutions of the equations are w = -12 and w = 7. We choose w = 7 since the measures of the rectangle must be positive. Therefore, the width of the rectangle is 7 m