Simplify the function formula, and if applicable, write the restricted domain. The problem accepts many ways to format the answers here, but one way is like typing
x^2 for x!=1 and x!=2
where
!=
is how to type the symbol.
Reduced