Go menu Object->Clip->Set and the object on the bottom gets clipped to the shape of the object on top.