how to write domain in set notation - Search