Hint:

To have a square inscribed in this curve with its base on the x-axis you need to find a value x0 so that

f(x0) = f(x0 + f(x0))