Two right circular cones share the the same altitude and have a height of *h*. One cone has a base of radius *R* and the other cone is "inverted" and has a base of radius *r* as shown in the figure below. Find a formula for the volume of the region common to both cones in terms of *R*, *r*, and *h*.