@brotherbobby, after you have completed this exercise, there's something you should consider. The idea that the graphs of ##y = f(x)## and ##y = f^{-1}(x)## (for an invertible function f) are mirror images of each other across the line y = x is one that is presented in most textbooks on precalculus. However, it's of very little consequence in subsequent studies of calculus, IMO.
What is more important, in my view, is that for a one-to-one function f, the equations ##y = f(x)## and ##x = f^{-1}(y)## are
identical. For example, consider ##y = f(x) = \sqrt {x - 1}##. An equivalent equation is ##x = f^{-1}(y) = y^2 + 1##. Note that the domain of f is the set ##\{x | x \ge 1\}## and the range is ##\{y | y \ge 0\}##. The domain of the inverse is exactly the same as the range of the original function, and the range of the inverse is exactly the domain of the original function.
Looking at a function and its inverse in this way lets you see each point on the graph of a function in two different ways. The first (with y = f(x)) lets you calculate the y value in terms of a given x value. The second (using the inverse) lets you calculate an x value in terms of a given y value.
Where this point of view comes into play is in calculus, and specifically in using integration to find the area under a curve. If you're asked to find the area under the graph of ##y = \sqrt{x - 1}## between x = 1 and x = 10, one integral that expresses this area is ##\int_{x=1}^{10} \sqrt{x - 1} ~dx##. Here, the typical area element is vertical, running from the x-axis up to the graph of ##y = \sqrt{x - 1}##.
Another integral that represents the same area is ##\int_{y = 0}^3 (10 - (y^2 + 1))~dy##. In this example, the typical area element is horizontal, and runs from the graph of ##x = y^2 + 1## to the line x = 10##. By the way, both integrals evaluate to the same number, namely 18.
This example might be beyond your present knowledge, but my point is that all this business of reflecting a graph across the line y = x is of little value in courses that follow precalculus.