This can be more "easily" solved if you work with the following.

Suppose is Riemann integrable, and continuous, on . Then is Riemann integrable on .

Hint to proof: First consider a partition such that . Then make two sets as follows; and . You choose needed for the definition of continuity for . Also since is Riemann integrable, it is bounded on this interval (you will need this).