The area of this rectangle is then A=x(34-x)=-x^2+34x. This is because x is one side, and the other is 34-x.
The only values of x that are possible are those between 0 and 34. If you graph the function -x^2+34x from 0 to 34, you will get the picture attached.
The graph will show that the Area is maximized at the point where x=17. The area corresponding to this point is 289. It should be noted that of all rectangles of equal perimeter, the one enclosing the maximum area will be exactly the rectangle with all sides equal, or in other words will be the square of that perimeter.