2. Let $\displaystyle x$ be the width of the path.
The remaining garden area is $\displaystyle (30-2x)(20-2x)$