Hello people of math help forum! I need some help with some simple questions that I keep getting wrong. Any help is appreciated!

#1. Cats and dogs sit in a row. When 5 cats leave, there remain 2 dogs for every cat. Then 25 dogs leave, and the ratio of cats to dogs becomes 3:1. What is the original number of animals?

#2. If http://mail.fontbonneacademy.org/owa...9&f=1_0001.jpg, find the value of y.

Thanks!