If you see a question like this in an actual exam, just make an assumption so that the question makes sense. I mean, for this one, it's pretty obvious they mean integers a and b. You writing "There are infinitely many solutions because it wasn't specified which field a and b belong to" doesn't...