*FIRST PERSON TO GET IT RIGHT AND ANSWER FIRST GETS BRAINLIEST*
In an aquarium, there are starfish and octopi in a tank. The total number of animals in the tank is 30. The total number of legs in the tank is 171. Assuming that all animals have all their legs, find the number of each type of animal in the tank. (Starfish have 5 legs and Octopus have 8 legs)

(solve using substitution method. MUST SHOW WORK)

Respuesta :

There are 23 sharks and 7 octopi in the aquarium

  • Let the number of sharks in the aquarium be x
  • Let the number of octopi in the tank be y

If the total number of animals in the tank is 30, therefore;

  • x + y = 30 ....................... 1

If the total number of legs in the tank is 171 with starfish having 5 legs and Octopus having 8 legs, the required expression will be:

  • 5x + 8y = 171 ................ 2

From equation 1, x = 30 - y ................... 3

Substitute equation 3 into 2 to have:

5(30-y) + 8y = 171

150 - 5y + 8y = 171

3y = 171 - 150

3y = 21

y = 7

Recall that x = 30 - y

x = 30 - 7

x = 23

Hence there are 23 sharks and 7 octopi in the aquarium

Learn more on simultaneous equation here: https://brainly.com/question/148035