slices of pie pt 1 - calculation