One number MUST be less than 7 since. It can't be 5 & 6 since their squares total more than 41, so it must be 4 & 5.
If you wish not to go through all of that, then do the following:
Let smaller INTEGER be S
Then larger is S + 1
We then get:
Complete the solution for S, the smaller integer.
Add 1 to S to get the larger integer.