build a quadratic using a rectangle

Drag the yellow dot in the left panel. If the curve in the right panel was a plot of the the function f(x)... ...what would the algebraic expression of f(x) be? What questions could/would you put to your students based on this applet?
adapted from a problem by Al Cuoco