An algebra problem by Kashif KhanAlgebra Level 1
A man owns some balls.
On the first day, he bought some more balls, equal to double the number that he had initially.
On the second day, he bough some more balls, equal to the square of the number that he had initially.
If he gives 10 balls to his friend, he would have 0 balls remaining.
How many balls did he have initially?