Let $\displaystyle y$ be the width. Then the area is $\displaystyle xy$.
We have $\displaystyle xy=3x^2+5x\Leftrightarrow xy=x(3x+5)\Leftrightarrow y=3x+5$