Hibs ended the 2021/22 season with a four-goal victory at Easter Road, with James Scott scoring a hat-trick.