I have a question on this sheet of lecture notes here, answering a question asking to find these functions and state their domains:

My query lies with the bottom of the page. Consider the following:
$(g\ o\ f)(x) = 3 -\frac{6}{x}$
Apparently, this cannot equal 2. In that case the output is 0. How is this a domain restriction? It's known, and at 0.