I believe you MEANT 8/(x^2-25)+9/(x-5) Parentheses in this format are important...the way you typed it means (8/x^2)-25+(9/x)-5 which I doubt you mean. Anyway.
If you factor the first denominator you will see that it is equal to (x+5)(x-5). Division by zero has no meaning so x cannot equal -5 or 5.
If we multiply the second fraction by (x+5) we will have a common denominator of (x^2-25) for the entire equation leaving us with:
(8+9x+45)/(x^2-25)
(9x+53)/(x^2-25)
The second problem is worked in exactly the same way, notice that there is no "solution" as there is no equal sign. This is an "expression" not an "equation".