Your notation is confusing. The axis of the rings is the z-axis, but you use the symbol ##x## to denote the position of the center of a ring. Also, you appear to initially use the symbol ##R## for the radius of a ring, but then later use ##R## for the radius of the hemisphere. (The problem statement says the radius of the hemisphere is ##a##.) Also, the symbol for the surface charge density as specified in the problem is ##\rho_s##.
Nevertheless, your final integral looks correct except for the upper limit of integration. [Edit: Should your integration variable be ##\theta## or ##\phi## (if these symbols are defined according to the problem statement)?]