Answer :

In interval notation the domain is (-infinity to 1) union (1,2] union [2, to infinity)