If the length is L then the width is L-7 and the area L(L-7)=170.
Expanding the brackets: L²-7L=170, L²-7L-170=(L-17)(L+10) so L-17=0 is a solution, making length=17 feet and the width=10 feet. We might have guessed this since 170=17×10 amongst other factors.