The warranty for one year applies to the units sold with the one year warranty (2,000 units) and the extended warranty (5,000 units), so they are added together to work out he value of the provision.
In the second year of the warranty only the 5,000 units as part of the extended warranty are included within the value of the provision as the original 2,000 are no longer covered by the warranty.