# How to simplify this complex expression?

Let $f(x, y) = x^2 - xy$. Determine a simplified expression for $f(x, x-y)$.

-

Substitute $y$ with $x-y$ in the expression which gives
$f(x,x-y)=x^2-x(x-y)=xy$