Answer
$${\text{Width}} = {\text{length}} = \frac{5}{2}{\text{m}}$$
Work Step by Step
$$\eqalign{
& {\text{From the image shown below we have that the perimeter is}} \cr
& {\text{given by the equation}} \cr
& 2x + 2y = 10{\text{ }}\left( {\bf{1}} \right) \cr
& {\text{In this case}},{\text{ the objective function is the area }}A = xy \cr
& A = xy{\text{ }}\left( {\bf{2}} \right) \cr
& {\text{Solve the equation }}\left( {\bf{1}} \right){\text{ for }}y \cr
& 2y = 10 - 2x \cr
& {\text{ }}y = 5 - x \cr
& {\text{Substitute }}5 - x{\text{ into the equation }}\left( {\bf{2}} \right) \cr
& A = x\left( {5 - x} \right) \cr
& {\text{This is a function of the single variable }}x.{\text{ Notice that the }} \cr
& {\text{values of }}x{\text{ lie in the interval }}0 \leqslant x \leqslant 5{\text{ with }}A\left( 0 \right) = A\left( 5 \right) = 0 \cr
& {\text{Differentiate }}A{\text{ with respect to }}x \cr
& A = 5x - {x^2} \cr
& \frac{{dA}}{{dx}} = 5 - 2x \cr
& {\text{Find the critical points by solving }}\frac{{dA}}{{dx}} = 0 \cr
& 5 - 2x = 0 \cr
& x = \frac{5}{2} \cr
& {\text{To find the absolute maximum value of }}A{\text{ on the interval }}\left[ {0,5} \right]{\text{ }} \cr
& {\text{we check the endpoints and the critical points}}.{\text{ Because }} \cr
& A\left( 0 \right) = A\left( 5 \right) = 0{\text{ and }}A\left( {\frac{5}{2}} \right) = \frac{{25}}{4},{\text{ we conclude that }}A{\text{ has its }} \cr
& {\text{absolute maximum value at }}x = \frac{5}{2} \cr
& {\text{Now we can calculate }}y \cr
& {\text{ }}y = 5 - x \cr
& {\text{ }}y = 5 - \frac{5}{2} \cr
& {\text{ }}y = \frac{5}{2} \cr
& {\text{Therefore, the dimensions are Width}} = {\text{length}} = \frac{5}{2}{\text{m}} \cr} $$