\(\text{Cách 1:}\)
\(\frac{72-x}{7}=\frac{x-40}{9}\)
=> \(\left(72-x\right)\cdot9=\left(x-40\right)\cdot7\)
=> \(648-9x=7x-280\)
=> \(648+280=7x+9x\)
=> \(16x=928\)=> \(x=928:16=58\)
\(\text{Cách 2:}\)
\(\text{Áp dụng tính chất dãy tỉ số bằng nhau, ta có:}\)
\(\frac{72-x}{7}=\frac{x-40}{9}=\frac{72-x+x-40}{7+9}=\frac{32}{16}=2\)
\(\text{Ta suy ra:}\)
\(\frac{72-x}{7}=2\)=> \(72-x=2\cdot7=14\)=> \(x=72-14=58\)
\(\text{Vậy }x=58\)