Ответ: \[f(x) = \frac{3}{x + 2}\] \[x + 2 \neq 0\] \[x \neq - 2.\] \[D(y) = ( - \infty; - 2) \cup ( - 2; + \infty).\]