\(A=\frac{a^2+ax+ab+bx}{a^2+ax-ab-bx}\)
\(=\frac{a\left(a+b\right)+x\left(a+b\right)}{a\left(a-b\right)+x\left(a-b\right)}\)
\(=\frac{\left(a+b\right)\left(a+x\right)}{\left(a-b\right)\left(a+x\right)}\)
\(=\frac{a+b}{a-b}\)
Thay \(a=5;b=2\) vào A ta có:
\(A=\frac{5+2}{5-2}=\frac{7}{3}\)
Vậy tại \(a=5;b=2\) thì A=7/3