Math Multiple Choice

In the figure above, a square is inscribed in a circle with diameter d. What is the sum of the areas of the shaded regions, in terms of d ?
(A) ![]()
(B) ![]()
(C) ![]()
(D) ![]()
(E)
(from the October 12, 1999 test)