The pet store sells hamsters, parrots, and rabbits.

There are 2 more parrots than hamsters.
There are 3 more rabbits than parrots.
There are 25 pets in all.
How many hamsters, parrots, and rabbits does the pet store have?

X hamsters.

x+2 parrots.
x+5 rabbits.
x + (x+2) + (x+5) = 25.
X =
x+2 =
x+5 =

To solve this problem, we can use a system of equations. Let's define the variables first:

Let h be the number of hamsters.
Let p be the number of parrots.
Let r be the number of rabbits.

From the given information, we can deduce:

1. "There are 2 more parrots than hamsters": p = h + 2.
2. "There are 3 more rabbits than parrots": r = p + 3.
3. "There are 25 pets in all": h + p + r = 25.

We can solve this system of equations by substituting the values of p and r from equations 1 and 2 into equation 3:

h + (h + 2) + ((h + 2) + 3) = 25.

Simplifying the equation:
3h + 7 = 25.

Subtracting 7 from both sides:
3h = 18.

Dividing both sides by 3:
h = 6.

Now we can substitute the value of h into equation 1 to find p:
p = 6 + 2 = 8.

And we can substitute the value of p into equation 2 to find r:
r = 8 + 3 = 11.

Therefore, the pet store has 6 hamsters, 8 parrots, and 11 rabbits.