$4x+1 = a^2$

Where a and x is an integer, what are all possible value of x?

I always encounter these types of question even in the form of 

$ax^2 + bx + c$

How do I approach these kinds of questions?