Answer: r - 24
Step-by-step explanation:
[tex]X=r+2;Y=2r-9;Z=r^2+17x+30[/tex]
[tex]\frac{x*y-z}{x}[/tex]
[tex]\frac{[(r+2)(2r-9)]-(r^2+17r+30)}{r+2}[/tex]
[tex]\frac{(2r^2-9r+4r-18)-(r^2+17r+30)}{r+2}[/tex]
[tex]\frac{(2r^2-5r-18)-(r^2+17r+30)}{r+2}[/tex]
[tex]\frac{2r^2-5r-18-r^2-17r-30)}{r+2}[/tex]
Combine like terms;
[tex]\frac{r^2-22r-48}{r+2}[/tex]
Solve the quadratic equation;
[tex]\frac{(r-24)(r+2)}{r+2}[/tex]
Simplify;
[tex]r-24[/tex]