You have to reflect the original graph in the line y = x . That means many point that has the same x and y value/as on line y = x (e.g. (1,1), (pi,pi), (505,505)) will be the same/intercepts between graph of original and inverse. For all other points, the coodinates reverse, e.g. (1,2) becomes (2,1) (5,7) becomes (7,5). If the original function is not a 1 to 1 function (i.e. only 1 y value for each x value and vise versa), then you'll have to restrict the original function, as i've done in attached sample q.
Also, to find inverse on CAS,(in my example i used original as f1(x) = x^2 +5x-2) you can sketch the original on graph (so it will be f1(x) = ..., or whatever number you're up to) , then open calculation, and in solve function type x = f1(y), y. You'll get one answer if original was one to one, but if not (as in my example attached), you'll be two. Hope this helps, good luck
