Find the values of x and y that make these triangles congruent by HL. I need help please

Answer:
A. [tex]x=5[/tex],[tex]y=6[/tex]
Step-by-step explanation:
We have been given an image and we are asked to find the values of x and y that will make our given triangles congruent by HL.
Hypotenuse-leg theorem states that if any leg and hypotenuse of one triangle is equal to leg and hypotenuse of another triangle, then both triangles are congruent.
We can see that hypotenuse and one leg of triangle ABC are AC and BC respectively. The hypotenuse and one leg of triangle AED are AD and ED respectively.
To make these our triangles congruent by HL theorem, we can set two equations as:
[tex]3x-2=2y+1...(1)[/tex]
[tex]x=y-1...(2)[/tex]
Substituting equation (2) in equation (1) we will get,
[tex]3(y-1)-2=2y+1[/tex]
[tex]3y-3-2=2y+1[/tex]
[tex]3y-5=2y+1[/tex]
[tex]3y-2y-5+5=2y-2y+5+1[/tex]
[tex]y=6[/tex]
Therefore, the value of y is 6.
Upon substituting [tex]y=6[/tex] in equation (2) we will get,
[tex]x=6-1[/tex]
[tex]x=5[/tex]
Therefore, the value of x is 5.
Upon looking at our given choices we can see that option A is the correct choice.