A drummer and a guitarist each wrote songs for their band. The guitarist wrote 8 fewer than twice the number of songs that the drummer wrote. They wrote a total of 46 songs. Which system of equations models this situation if the drummer wrote d songs and the guitarist wroteg songs?

Let d represent the number of songs the drummer wrote and g represent the number of songs the guitarist wrote.

The first equation can be written as:
g = 2d - 8

The second equation is:
d + g = 46

Therefore, the system of equations that models this situation is:
g = 2d - 8
d + g = 46