The whole angle is equal to 90 degrees therefore you can make an equation using the two angle values and set it equal to 90 like so...
x + 3x - 10 = 90
Combine like terms ( x and 3x)
(x + 3x) - 10 = 90
4x - 10 = 90
Bring the 10 to the other side by adding it to both sides
4x + (-10 + 10) = 90 + 10
4x + 0 = 100
4x = 100
To further isolate x divide 4 to both sides
4x/4 = 100/4
x = 25
Hope this helped!
~Just a girl in love with Shawn Mendes