Zach Leggon (16) scored three of Marshfield’s four goals for the hat trick.