I ended up pulling out the carpet cleaner. I tried to find the instructions but I must have thrown them away. I looked up the directions online. I tried using dish soap instead of commercial cleaner.
It cleaned the carpets quite nicely.