Fractions represent parts of a whole, and a number line provides a visual way to…