Gift cards for excellent grades, g, are worth $40 and gift cards for perfect attendance, a, are worth $25 the principal has $4,000 allotted for this event and is going to reconize 100 students. Write the linear equations that model this situation

Let's use the variables g and a to represent the number of students who receive gift cards for excellent grades and perfect attendance, respectively.

1. The total number of students who receive gift cards is 100:
g + a = 100

2. The total amount allotted for gift cards is $4000:
40g + 25a = 4000

These two equations form a system of linear equations that models the situation.