D = (0, 0, 0)
B = Point(yAxis)
F: B + (2, 0, 0)
c = Line(B, F)
G = Point(c)
d = Segment(B, G)
j = Line(D, d)
H = Point(d)
I: H + (0, 1, 0)
e = Line(H, I)
J = Intersect(e, xAxis)
b_1 = Line(J, H)
f = Segment(H, J)
m = Line(G, f)
L = Intersect(j, m)
n = Segment(G, L)
M = Point(n)
q = Line(M, d)
C = (0, 0, 3)
a = Sphere(C, 3)
E = (0, 0, 6)
b = Segment(E, D)
K: J + (0, 0, 6)
g = Segment(J, K)
h, k, p, i = Cylinder(J, K, 3)
l = Ray(D, B)
N = Intersect(q, b_1)
r = Segment(N, M)
s = Line(N, g)
t = Line(K, f)
O = Intersect(s, t)
a_1 = Segment(O, N)
P = Midpoint(O, N)
c_1 = Circle(N, 3, a_1)
d_1 = Circle(O, 3, a_1)
o, e_1, u = Cone(c_1, -3)
v, f_1, w = Cone(d_1, 3)
Q: G + (5, (-5), 0)
R: B + ((-5), (-5), 0)
S: L + (5, 5, 0)
T: D + ((-5), 5, 0)
poly1, r_1, q_1, s_1, t_1 = Polygon(R, Q, S, T)
g_1 = Line(M, s)
A: M + (0, 0, 6)
h_1 = Segment(M, A)
U = Point(h_1)
z = OrthogonalPlane(U, s)
k_1 = IntersectPath(z, a)
p_1 = IntersectPath(z, i)
V = Intersect(z, e_1)
c_2 = IntersectPath(z, w)
i_1 = Line(R, s)
j_1 = Line(Q, s)
l_1 = Line(S, s)
m_1 = Line(T, s)
W = Intersect(i_1, z)
Z = Intersect(m_1, z)
A_1 = Intersect(j_1, z)
B_1 = Intersect(l_1, z)
poly2, w_1, a_2, b_2, z_1 = Polygon(W, A_1, B_1, Z)
C_1 = Point(k_1)
D_1 = Intersect(z, b)
r1 = Segment(D_1, C_1)
S1: (π * r1^(2))
text1: "S_1=" + S1 + ""
E_1 = Point(p_1)
F_1 = Intersect(z, a_1)
r2 = Segment(F_1, E_1)
S2: (π * r2^(2))
G_1 = Point(c_2)
r3 = Segment(F_1, G_1)
S3: (π * r3^(2))
S4: S2 - S3
text2: "S_2=" + S2 + "-" + S3 + "=" + S4 + ""
H_1 = Point(z_1)
n_1 = Line(H_1, w_1)
I_1 = Intersect(a_2, n_1)
poly3, h_2, i_2, b_3, z_2 = Polygon(H_1, I_1, B_1, Z)
d_2 = Line(H_1, b)
J_1 = Intersect(t_1, d_2)
e_2 = Line(J_1, h_2)
K_1 = Intersect(q_1, e_2)
poly4, j_2, k_2, s_2, t_2 = Polygon(J_1, K_1, S, T)
L_1 = Point(h_2)
f_2 = Line(L_1, i_2)
M_1 = Intersect(f_2, b_3)
poly5, h_3, l_2, m_2, z_3 = Polygon(H_1, L_1, M_1, Z)
N_1 = Point(l_2)
O_1 = Point(l_2)
g_2 = Line(N_1, h_2)
n_2 = Line(O_1, m_2)
P_1 = Intersect(z_3, g_2)
Q_1 = Intersect(n_2, z_3)
poly6, p_2, n_3, o_1, q_2 = Polygon(P_1, N_1, O_1, Q_1)