Let n = the first of the two numbers.
Then n+1 = the second of the numbers.
The equation to solve is
This expands to
Or,
Or,
Or,
Or,
Or,
This factors:
So, n=-3 or n=1.
But, the problem states that the numbers are positive.
So, n=1. The second number is n+1 = 2.
We verify this answer by noting that the sum of the numbers (1+2=3) times the difference of the numbers (1-2=-1) plus 8 = 3(-1)+8 = 5 which is indeed the sum of 1 squared plus 2 squared.