The sum of all the angles is 180, so we get the equation
x + 2x + 90 = 180
3x = 90
x = 30
Hope that helps!