>>56
tan∠A=1/a、tan∠B=1/x、また、180-(∠A+∠B)=135だから加法定理より、
tan{180-(∠A+∠B)}=tan(135) → -tan(∠A+∠B)=-1 → x+a=ax-1 → x=(a+1)/(a-1)