Kind of right. The projection on to a surface normal to the x-axis is a circle. The formula for area of a circle is pi r squared or pi * (D/2)^2. This is equivalent to pi * D^2/4. So the question is not, 'have you learned about integration yet?', it's 'have you learned about algebra yet?'...