Answer:
The statement of the problem is easily converted to two equations, the first of which will be x = 2y -2.
Write the second equation based on the second sentence.
Now you have a system of two equations with two unknowns. Substitute into the second equation,u sing the first equation.
That gives you a quadratic equation in y. Solve that!