How To Write Domain For Piecewise Functions