Masking an object in Inkscape

Make sure you have both objects selected before applying this