f(x,y) = (y - x)^2