It depends how you want to solve it
you can plug it in on a calculator and It will show you how the equation looks on a graph( need graphing calculator).
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