Finding Domain and Range of a Function