Let us assume the direction of the velocity of the airplane to be negative. So, if we take the velocity of airplane to be VP and that of the products of combustion to be VC, then
VP=−500 km/h
and relative velocity of products of combustion, VC−VP=1500 km/h.
[since the combustion products are released opposite to the direction of plane's velocity]
⇒VC−(−500)=1500
⇒VC+500=1500
⇒VC=1500−500=1000 km/h
is the velocity w.r.t an observer on the ground.