594 cubic meters of earth was dug out to make a well. The diameter of the well thus formed was 6 m. Find the depth of the well.
A) 7 m
B) 8 m
C) 9 m
D) 10 m