what is the formula of a cone,cylinder,square pyramid and triangle