Ok, so you want a convert a ramp that goes from 9 to 12v into a ramp that goes from 5.5v down to 3.5v, right?
You're taking a 3v swing and dropping to a 2v swing, and you're inverting, so you want a gain of negative 2/3rds. So, something like 2.2k from output to inverting input, and 3.3k from inverting input to the 9-12v ramp. Be careful of your choice for op amp, some might not be stable with a gain of less than unity.
Now, some simple algebra says that the voltage at the non-inverting input that gives you the output swing you want is 6.9v. So, make a resistor divider between your 5v input and some convenient voltage source (positive supply rail?) to give yourself a 6.9vdc input on the non-inverting input.
Done.