You can
put this solution on YOUR website!If 'x' is rational, then we can say that

where 'p' and 'q' are integers or whole numbers. This is simply the definition of rational numbers. Note:
If we multiply 'x' by 'm', then we get

which is still rational since 'mp' is an integer (integer multiplication is closed) and 'q' is an integer.
If we then add on 'b', we get

. Because

is an integer (using the reasoning above) and

is an integer (same reasoning),

is an integer since integer addition is closed. Since

and

are integers,

is rational.
This means that if 'x' is rational, then

is rational. So it is never possible to find an irrational 'y' value given a rational 'x' value.
I'm not sure what you're asking about in terms of the restrictions, but you'll still find that plugging in rational x values will get you rational y values.