The slope is -1: that means that the feedback resistor and the input (Vin) resistor have to be the same (this was correct).
I've been trying some sketches: the main problem is that somewhere in the circuit you need to have negative voltages (with respect to the earth you have) to carry out the analog computing.
Regards