Transformations of Square Root and Rational Functions