The following are the formulas for the equired figures:
Rectangular Prism = l·w·h
l: length
w: width
h: height
Sphere = 4/3 ·π·r³
r: radius
Cylinder = π·h·r²
h: height
r: radius of the base
Cone = 1/3·π·r²·h
r: radius of the base
h: height
Triangular prism = 1/2·b·h·l
h: height
l: length
b: base