Answer:
42 pentagons and 18 octagons
Explanation:
We will call the number of pentagons '
' and the amount of octagons '
'.
If the sum of both is 60 figures:
![x + y = 60](https://img.qammunity.org/2020/formulas/mathematics/middle-school/9cg7htihti5s3nzk2pz6dnl7s953spawr1.png)
The previous one will be equation 1.
In addition, the problem mentions that there are 354 sides in total, for this we will have to add the amount of sides corresponding to the pentagons: 5x, because the pentagon has 5 sides and we have x pentagons, plus the number of sides corresponding to the octagons: 8y, because the octagon has 8 sides and we have 'y' octagons.
so the equation 2 will be:
![5x + 8y = 354](https://img.qammunity.org/2020/formulas/mathematics/middle-school/9kbdc27hx8bksxnoalojnvk0wjs237d7vo.png)
Now we must solve the system of two equations we have.
For this we clear 'x' from equation 1, and substitute in equation 2.
Clearing for 'x' in equation 1:
![x + y = 60\\x = 60 -y](https://img.qammunity.org/2020/formulas/mathematics/middle-school/4hfeif0z9xe92u9kz8pb8mu942ned7yd5g.png)
Substituting in eqution 2:
![5x + 8y = 354\\5(60 - y) + 8y = 354](https://img.qammunity.org/2020/formulas/mathematics/middle-school/n9fnqrntfuf12fpeymdqnprncmjx68stns.png)
And solving for 'y'
![300 -5y + 8y =354\\3y = 354 -300\\3y = 54\\y=54/3\\y=18](https://img.qammunity.org/2020/formulas/mathematics/middle-school/24yxnc6gslqe3oppcc1whmwuteaplhw3cw.png)
This means there are 18 octagons.
And now to find the number of pentagons, we substitute the value of y = 18 in any of the two equations, i will do it in the equation 1:
![x + y = 60](https://img.qammunity.org/2020/formulas/mathematics/middle-school/9cg7htihti5s3nzk2pz6dnl7s953spawr1.png)
![x + 18 = 60](https://img.qammunity.org/2020/formulas/mathematics/middle-school/12ue4xnxz9pf3xtum0opzsot4g3orjrbjt.png)
![x = 60 -18](https://img.qammunity.org/2020/formulas/mathematics/middle-school/lcpqu4ehboh584avnpevmk9ktvx0622fjf.png)
![x = 42](https://img.qammunity.org/2020/formulas/mathematics/middle-school/l2um4m7v4b34hvvdv3u9cmghs3x8ie8lgg.png)
There are 42 pentagons