Lets use an algebraic expression to support all these solutions.
(5 * x) / 5
where x is a variable.
If 5 divided by 5 is 1, then we end up with x.
Now we let x=2.
(5 * 2) / 5 =
10 / 5 =
2
Notice that multiplying by a number, and then dividing the result by that same number, gives us back the value of the variable.
The goal of performing inverses is to cancel out like terms to simplify an algebraic equation.
Division undoes the multiplication.
Subtraction undoes the addition.
nth-root undoes the nth power (you will encounter exponential equations later).