If you want to take the right limit, just add a right in the named line, such as limit(y, x, 0,' right'). Find the left limit, the same as the limit (y, x, 0,' left').
If you want the limit of x at other points, just change 0 to other numbers. For example, limit(y, x, inf) is to find the value of this formula when x tends to infinity.
If you don't understand, ask me the user name