what is the formula of pyramid cone explain it