Pick your city to graph it. Then FRED lets you do transformations, which includes dividing one series by another. You can do this by clicking “edit graph,” then “customize data”. In the box where you can add a series, type CPI and choose it when it comes up. Then in formula, type “a/b”.
This is basically telling it to graph Case-Shiller/CPI, which is what you are looking for.