I'm having trouble with this problem, and it's one of the review problems for my upcoming test. Hope someone can help.

Let g: [c,d] into [a,b] be continuous and for every zero set Z in [a,b], pre-image g of Z is a zero set in [c,d].If f is Riemann integrable, show that f composites g is Riemann integrable.