Solving Problems involving Cylinders and Cones