I'm trying to work my way through Bartle's Elements of Integration and I am currently in Chapter 4, entitled the integral. If $f$ is a nonnegative measurable function, then its integral is defined as
$$\int f\,d\mu=\text{sup}\left\{\int \phi\,d\mu:\ 0\le\phi\le f\right\},$$
where $\phi$ is a simple measurable function. I've managed to prove the monotone convergence theorem, Fatou's lemma, and a few corollaries. However, at this point in time, there has not been any connection between these integrals and the Riemann integrals.
Then problem 4.L appears at the end of the chapter.
4.L. Let $X$ be a finite closed interval $[a,b]$ in $R$, let $\mathcal{X}$ be the collection of Borel sets in $X$, and let $\lambda$ be the Lebesgue measure on $\mathcal{X}$. If $f$ is a nonnegative continuous function on $X$, show that
$$\int f\,d\lambda=\int_a^b f(x)\,dx,$$
where the right side denotes the Riemann integral of $f$. (Hint: First establish this equality for a nonnegative step function, that is, a linear combination of characteristic functions of intervals.)
I'd appreciate any help I can receive with this question as it would open a door for me and help with my progress.
Thanks.