write a system of equations to represent the situation.
d: number of dance songs
r: number of rock songs
d + r = 1075
d = 4 * r
the holiday party will cost $800 if 40 people attend.
first we need to find how much it costs per person.
we know it costs $20 per person so we can calculate how much it costs for 40 people.