y(x-5/2) = y
y(x-5/2) - y =0
y(x - 5/2-1) = 0
thus
either : y =0
or : x= 7/2
If we were given that y is positive integer we would have directly cancelled out y on both sides. But since we aren't told that y is positive we have to substract y on both sides and so on.