8. Water begins to flow into an empty bucket at a rate of 4 kilograms per minute through a tap. The bucket can hold 10 kilograms of water. Construct a graph showing the dependence of the mass of water \(m\) (kg) in the bucket on time \(t\) in minutes, if the observation lasted 5 minutes. Write the relationship between \(m\) and \(t\) using formulas.
8. \(m=4t\) and \(0 \leqslant t<2.5\), or \(m=10\) and \(2.5 \leqslant t \leqslant 5\) (Fig. 24).