Answer:
x = 2
Explanation:
We can say that both the triangles are congruent by the "if two angles of given triangles are congruent then the triangles are congruent" theorem, so we can set both equations equal to each other:
5x - 1 = 3(x + 1)
=> 5x - 1 = 3x + 3
=> 2x - 1 = 3
=> 2x = 4
=> x = 4/2
=> x = 2
Hope this helps!