2 * (number of legs on a cat) + (number of legs on a horse)