The first equation says that "y-1" is the same as "x". So replace "x" with "y-1" in the second equation. That gives you an equation in only y, allowing you to solve the problem with basic algebra.
You can solve from there.
It's a simple example of how the method of substitution is used to solve pairs of equations in two variables.