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 wrote`g` songs?

g = 2d - 8

d + g = 46