So,
We want to find the values of x and y such that these triangles:
Be congruent.
For this, we could state the following equations:
What we're going to do is to solve this system so we could find the values for x and y:
By elimination's method:
Now, replacing x=2:
2-y+4=0
y=6
Therefore, x=2 and y=6.