When you get to the point where the width is larger than the length, you can stop because you have exhausted all the possibilities. The greatest area will be the rectangle that is closer in to a square than any of the others.
The answer is 2z+3. The like terms are 5z and -3z so you can subtract them and get 2z. Thus, the answer is 2z+3