Given that the equation of the circle is where k is a constant. Determine the value of k for each of the following cases:

(a) The area of the circle is 9π square units. Also, state the centre of this circle.

(b) the line y=x is a tangent to the circle.