First, determine the value of x
x is greater than 2 and less than 6, then the value of x would be
x = 3,4,5
Second, determine the value of y from each value of x
For x = 3, then the value of y will be
x + y = 5
3 + y = 5
y = 5 - 3
y = 2
For x = 4, then the value of y will be
x + y = 5
4 + y = 5
y = 5 - 4
y = 1
For x = 5, then the value of y will be
x + y = 5
5 + y = 5
y = 5 - 5
y = 0
The possible solution for y is 2,1,0