Velocity of jet = vj = 500 kmh-1 (away from the observer)
Relative velocity of ejection with respect to jet = vcj = 1500 kmh-1
If 'vc' is the velocity of the ejection (of ejected products), then
Vej = ve - ej
or ve = vej + vj = 1500 + (-500) = 1000 kmh-1.