Modulation of localized solutions in quadratic-cubic nonlinear Schrödinger equation with inhomogeneous coefficients