Answer
$f(x)=x^2-x$
Work Step by Step
Here, the derivative is given as: $f'(x)=2x+1$, thus, the general form of the function is: $f(x)=x^2-x+C$
Since the graph of the given function passes through $(0,0)$, $f(0)=0 \implies 0^2-0+C$
or, $C=0$
Hence, $f(x)=x^2-x$