Answer:
g = 2d - 8
g + d = 46
Explanation:
It is given that the guitarist wrote eight less than twice as many songs as the drummer did, hence one would multiply by the number of songs the drummer wrote by two, and subtract eight.
It is also given that the combined total of songs that they both wrote is 46, hence one would add up the songs that they wrote, and attain a result fo 46.