Two rectangles in a square

You can move the yellow dot inside the large square in the left hand panel. What could the yellow surface in the right hand panel be a plot of? How do you know? Can you write an expression for the form of this surface as a function of the position of the dot in the left hand panel?
Adapted from an applet by Anthony C. M. Or