Answer:
x = 24 or 7
Explanation:
Given a number is subtracted from 18 and 13.
Let us call this number
.
From the given data we have
and
.
The product of these two numbers is
.
This leads us to the quadratic equation, mentioned in the question.
.
![$ \implies x^2 - 31x + 168 = 0 $](https://img.qammunity.org/2020/formulas/mathematics/middle-school/hizl5z5geb9gam17680cvhcijfd9if7zoj.png)
Solving for
we get
![$ x =24 $ or $x = 7$](https://img.qammunity.org/2020/formulas/mathematics/middle-school/s1kdih1wp9zzixqyjr7l03izpxwl69w6p5.png)