$$(5-x)=\frac{x^{2}\cdot25}{7}$$
$x = \frac{13 \sqrt{21} - 7}{50} \approx 1.051469681$
$x=\frac{-13\sqrt{21}-7}{50}\approx -1.331469681$