Final answer:
There were initially 45 horseshoe crabs and 45 sea stars in the aquarium.
Step-by-step explanation:
Let's first represent the initial number of horseshoe crabs as x and the initial number of sea stars as x.
After 15 horseshoe crabs and 27 sea stars were removed, the new ratio is 5:3. This means that the new number of horseshoe crabs is x - 15 and the new number of sea stars is x - 27.
We can set up the following equation to represent the ratio:
- (x - 15)/(x - 27) = 5/3
Cross-multiply to solve for x:
- 3(x - 15) = 5(x - 27)
- 3x - 45 = 5x - 135
- -2x = -90
- x = 45
Therefore, there were initially 45 horseshoe crabs and 45 sea stars in the aquarium.