given x in a domain, and given a range, receive y