1) Any polynomials equation with rational coefficient , such as x^5+x^3+x^2-10=y
2) I don't understand what are you talking about.
part b states the rational points in [a,b] which does not attain a maximum value, such as the maximum value is irrational, the example needs to satisfied both of the conditions.
So, a general polynomials equation will not work