Show whole number solution from 0 to 8 for inequality x - 5 > 1

That would be the same as x > 6, since you can add 5 to both sides of the inequality and keep the same > sign.

Only two integers from 0 to 8 are greater than 6.

You already know what they are.