The way you have stated the problem there are multiple solutions.
So so far all we know is that there are some animals with 3 legs we will say the number of them is x
x = number of 3 legs animals
and 4 legged animals. We will say the number of these is y
y = number of 4 legged animals
therefore we have 3x + 4y = 101
we have only one equation and two unknowns. We need two equations to find a single solution.
We can find situations where values for x and y that will work
when x=3 and y=23 we have a solution
3(3)+4(23)=101
also every time we increase x by 4 we will get another solution that works
x=7 and y=20
3(7)+4(20)=101
try some more and you will see that without the second equation we have many solutions
good luck
Tom