Mastering Piecewise Defined Functions In Latex