Let the required integer be represented by . 10 added to the integer's square is . 40 more than the integer is , and the problem says that these two results are equal. Hence:
which is to say:
When you solve this quadratic, you will obtain two roots. I'll leave it up to you to decide whether both of the roots satisfy the original problem conditions.
John
My calculator said it, I believe it, that settles it