We study the D + s → π + π + π − and D + s → π + K + K − decays adopting a mechanism in which the D + s meson decays weakly into a π + and a qq component, which hadronizes into two pseudoscalar mesons. The final state interaction between these two pseudoscalar mesons is taken into account by using the Chiral Unitary approach in coupled channels, which gives rise to the f0(980) resonance. Hence, we obtain the invariant mass distributions of the pairs π + π − and K + K − after the decay of that resonance and compare our theoretical amplitudes with those available from the experimental data. Our results are in a fair agreement with the shape of these data, within large experimental uncertainty, and a f0 (980)