A circle has the equation x^2 + 8x + y^2 + a = 0. A straight line has the equation y= 3^(1/2)x. Find the value of a for which the line is a tangent to the circle.

I thought you might have to use the b^2 - 4ac formula because of the tangent to the circle but I just got stuck.