graph the inverse of the function then determine if the inverse is a function

The inverse of a funtion is to swap points X and Y
for example the point (3,2) will be (2,3)
We take point of this function and try to graph
Points
[tex]\begin{gathered} (0,0)\longrightarrow(0,0) \\ (-5,10)\longrightarrow(10,-5) \\ (5,10)\longrightarrow(10,5) \end{gathered}[/tex]the graph
The graph is not a function because you cant have two Ypoint for the same Xpoint