Some chickens and rabbits have a total of 100 feet. If each chicken is exchanged for a rabbit and each rabbit is exchanged for a chicken there would be a total of 86 feet. How many chickens are there? How many rabbits? I know that for a problem like: The Mathematics Stack Exchange camp is holding a party at their HQ in Las Vegas. They want to save energy by carpooling. They are able to fit 450 people into 80 vehicles that are either 5-seat sedans or 7-seat minivans. How many sedans and how many minivans are they allocating? It would be $$s+m=80$$ $$5s+7m=450$$ $$s=80-m$$ $$7m-5m+400=450$$ $$2m=50$$ $$m=25$$ $$80-25=55$$ $$s=55$$
But this one is exchanging. I need the equation to solve this problem. If you give the answer also, I don't mind, but I only need the equation.