How do I determine the parameter a of the following equation such that f(x, y) has an extremum at a point (x, y) with x = -3, and show that it is a minimum?

#f(x,y)=ax^2+xy+y^2+x+y+1#