Hi,
x - y = 5 0r x =
x^2 + y^2 = 233
(y+5)^2 + y^2 = 233
2y^2 + 10y + 25 = 233
2y^2 + 10y - 208+ 0
y^2 + 5y - 104 = 0
(y + 13)(y - 8) = 0 (Tossing out the negative solution )
y = 8 and x = 13
CHECKING our answer***
169 + 64 = 233
Wish You the Best in your Studies.