someone plssss help ILL GIVE BRAINLIEST

Answer:
x = 22 degrees
Step-by-step explanation:
Since this is a right angle and both angles added together will equal to 90degrees this means that:
(3x-5) + (x+7) = 90
(first, remove the brackets)
3x-5+x+7 = 90
( add the numbers together and the term x together)
( 3x+x ) + ( -5+7 ) = 90
4x + 2 = 90
(subtract 2 from both sides)
4x = 88
(divide by 4 from both sides)
x = 22
so the measure of x = 22 degrees