Treat both sides of at once: for set , . Nonnegativity gives
Define . By the fundamental theorem of calculus, and . The integrating factor gives
Since , this proves the affine Gronwall estimate