Please help and explain this to me ASAP ( if u give me the right answer I will give u as brainlist )

Answer:
x = 18
Step-by-step explanation:
So, we know that triangle ABC is congruent to triangle DEC, therefore, each corresponding angle is congruent as well.
In other words:
angle A = angle D
angle B = angle E and
angel C = angle C
If angle B = 40° and angle E = 2x + 4, and angle B = angle E then, 40 = 2x + 4
Now we can solve for x by using the equation 40 = 2x + 4
40 = 2x + 4 (You will want to separate x from the rest of the equation. Start by subtracting the 4, on the right side, by 4 to cancel it out, then subtract 4 by 40 to get 36)
36 = 2x (Now you will want to get rid of the 2. To get rid of it, divide 2 on both sides, like before.)
Now you are left with x = 18
I hope all of this made sense, and I hope it helped