The given equations are:
![\begin{gathered} m\angle2=((x^2-1)(x+1))^(\circ) \\ m\angle8=(184-x^2(x+1))^(\circ) \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/ko2qfatop8doldffa00x8p47siwn5snp1q.png)
Notice from the figure that angles 2 and 6 are corresponding angles, hence, they must have equal measures. It follows that:
![m\angle6=((x^2-1)(x+1))^(\circ)](https://img.qammunity.org/2023/formulas/mathematics/college/16lxth6wh0qm25abu4utr6tvjgenqgqaex.png)
Notice from the figure that the angles 6 and 8 form a linear pair, hence, they must be supplementary, that is, the sum of their measures must be 180º:
![\begin{gathered} m\angle6+m\angle8=180^(\circ) \\ \Rightarrow(x^2-1)(x+1)+184-x^2(x+1)=180 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/4t2grf5clb1h6uhwr2u2d3lugl6go9kpd4.png)
The value of x is 3.