The influence of stimulated Brillouin scattering on stimulated Raman scattering in inhomogeneous density plasma