Y - 2 +

Your teacher may also just want the answer y - 2 with a 7 remainder
Either way, you set it up like long division and solve as such.
Step-by-step explanation:
Dogs: 12% of 45= 5.4
Cats: 24% of 45= 10.8
Fish: 36% of 45= 16.2
Other: 28% of 45= 12.6
compound interest equation for annually compounded

A=final amount
P=principal
r=rate in decimal
t=time in years
given that
A=1550
P=1000
r=5.5%=0.055
find t

divide both sides by 1000

take ln of both sides

use ln rule 

divide both sides by ln(1.055)

using a calculator, we get that t=8.18544 yrs
so about 8.2yrs