Since both angles make up 90 degrees, you could set the equation to 5x+x-6=90. Then put all numbers without x to one side so it’s 5x+x=96. Then add the x together so it’s 6x=96. Divide 96/6 to get x by itself. X=16. Then plug 16 into the equation so angle one is 10 and angle 2 is 80. TLDR: Angle 1=10, angle 2=80