If I add the square of a number to the number itself, I get 30, then the number can be 5 or -6
Solution:
Given that if i add the square of a number to the number itself, I get 30
We have to find the number
Let the number be "x"
Square of number + number = 30
Hence we get,

Let us factorize the expression to get the value of "x"

"x" can be written as "-5x + 6x"

Now "30" can be written as


Take "x" as common from first two terms and "6" as common from next two terms

Equating to zero we get,
x - 5 = 0 or x + 6 = 0
x = 5 or x = -6
Hence the number can be 5 or -6