42, 1764
I am going to assume that there's a typo and the actual number is 1806. So we can create the following equalities:
a = x^2
x + a = 1806
Since we know that a is x^2, we can substitute that, giving:
x + x^2 = 1806
And finally, let make it into a normal quadratic equation:
x^2 + x - 1806 = 0
Now using the quadratic formula, we can determine the roots to be x = -43 and x = 42. Since we've been told the numbers are positive, we'll select the value 42.
Let's check our results
"One number is equal to the square of another"
42*42 = 1764
"their sum is 1806"
42 + 1764 = 1806
So the 2 numbers we want are 42 and 1764