To write the pair of linear equations that model this situation, let's define two variables:
Let g represent the number of students receiving gift cards for excellent grades.
Let a represent the number of students receiving gift cards for perfect attendance.
The total number of students receiving gift cards is given as 100, so the first equation is:
g + a = 100
The total cost of the gift cards is $4,000, and we know that the gift cards for excellent grades are worth $40, while the gift cards for perfect attendance are worth $25. So, the second equation is:
40g + 25a = 4000
Therefore, the pair of linear equations that model this situation are:
g + a = 100
40g + 25a = 4000