The values of x that are not in the domain of f are those that cannot be used because they leave an undefined output value, that means those that that leave the denominator of the function equal to zero.
Factoring we have:
This expression is zero if any of the factors is zero, then:
Or
The values of x that are not in the domain of f are -5 and 8.