Given:
Let the number be x.
According to the statement, we have:
[tex]x^2=20+8x[/tex]Simplifying it for x,
[tex]x^2-8x-20=0[/tex]Consider two terms such that their product is - 20 and their sum is -8
The terms will be - 10 and 2 since their product is -20 and their sum is -8 so we can write the equation as:
[tex]x^2-10x+2x-20=0[/tex]Now, take x common from first two terms and 2 from last two terms,
[tex]x(x-10)+2(x-10)=0[/tex]Now, take (x-10) common :
[tex](x-10)(x+2)=0[/tex]Since the product of two terms is zero, so one must be zero or both must be zero.Hence,
[tex]\begin{gathered} (x-10)(x+2)=0 \\ x=10,-2 \end{gathered}[/tex]Hence, the number can be 10 or - 2.