How does the sentence end?

The cat needed to lose weight more than the dog did because the
cat ate more food.