A rectangle with one side on the x-axis and one side on the line has its upper left vertex on the graph of y=x^2 For what value of x does the area of the rectangle attain its maximum value?

I know the answer is 4/3.

Do you solve this by rectangle approximation?