How can I cut object like this (see the pic)?

Nick