Volumes with cross sections: triangles and semicircles