the answer is 659 because if x = 5 that means 25x25 = 625
and if y = 2 then 625 + 52 = 677
and then 677-18 = 659
Problem solved