So for 5 you would do
9x+4x+25=90 degrees because it's a right angle
So you would add like terms so the problem will then become
13x+25=90 degrees then you would subtract 25 from 90 so the problem would become
13x=65 degrees then you would divide the 65 by 13 and then x would equal 5