To help you out I save your picture and explain the process. The only thing tht confuses me is problem #!6. But I hope I helped you out in the slightest bit
The answer is D. In the function

, A value of 5 would make the denominator 0. This is undefined, so 5 is excluded.
Sides that two side is equal so
5x+10=40
5x=30
X=6