You need to solve for each value x and y. These two equations provide the intersection of both whereby
y=2x-4 and y=x-1
this gives us, by replacing y in the first equation with x-1 = 2x-4 subtract the left side x from the right side gives us -1 = x - 4 subtracting known values x = 3