What is the value of x in the solution to the following system of linear equations?

Answer:
The correct answer is second answer x = -2
Step-by-step explanation:
It is given that,
y = x - 1 and
y = 2x + 1
To find the value of x
Let, y = x - 1 ---(1)
y = 2x + 1 ----(2)
From (1) and (2) we can write
x - 1 = 2x + 1
2x - x = -1 - 1
x = -2
Therefore the value of x = -2
The correct answer is second option