In general, the domain is the set of all x-values for the graph.
The issue here is that this isn't the graph of a function. A function has at most one y-value for each x-value and this graph has an infinite number of y-values for the single x-value of 1.
So, either your teacher is wanting you to say the domain is {1}, because that's the only x-value used by the graph, or they're wanting you to say this is a trick question, because this isn't the graph of a function.
The range is the set of all y-values, which is -9<y<9, but again, do they intend this to be a trick question?