The rational expression we have is:
![((x-5)(x+2))/(x+1)](https://img.qammunity.org/2023/formulas/mathematics/college/96yc9ye3efi7cw72qbvstz9acqa736esln.png)
For a rational expression to be equal to 0, the numerator of the expression has to be equal to 0.
The numerator is: (x-5)(x+2)
That has to be equal to 0:
![(x-5)(x+2)=0](https://img.qammunity.org/2023/formulas/mathematics/college/w2x8ygyvv52g0z7mj2mxx4e5kdzfkyeoc1.png)
Here, we apply the zero product property, which tells us that if a product is equal to 0, one of the two elements, or the two elements, are equal to 0:
![\begin{gathered} x-5=0 \\ x+2=0 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/hh73qw7y35t08gu80aba7vy03b1d3zjl13.png)
We solve the two equations, and get the two values that will make the rational equation equal to 0:
![\begin{gathered} x=5 \\ x=-2 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/jfp9lp2rqa0wsgs1jjgv6gl91ckkt7x4ev.png)
Answer:
E. 5
F. -2