The area of a circle, given the measure of the radius, is calculated by:
But you have the diameter. The diameter is two times the radius, so the radius must be 3. Hence:
Which is the exact answer. If you want a numerical approximation, pick a value for of sufficient precision to suit you, substitute, and then do the arithmetic.