well we know it is a 90 degree angle, so both sides would equal 90 degree's. lets use that to our advantage.
You would combine both sides, 2x-2 and x+5, and it would look like this: 3x+3
now, because we know it will equal 90 degrees, let add that in, shall we?
3x + 3 = 90
now we have the start to our problem. Lets continue.
because 3 does not have an x, lets get rid of that so we can figure out what x equals.
3x + 3 = 90
-3 -3
----------------
3x = 87
now, lets divide 3 by both sides so we know what x equals.
3x/3 = 87/3
x = 29
I'm not 100% sure this the answer, i wouldn't trust me. today im not doing well in math