Use the expenditure identity
Need a hint?
Use Y = C + I + G + X − M.
Worked solution & reasoning
GDP = 500 + 120 + 150 + 80 − 100 = 750 billion dollars.
Imports are subtracted because imported goods and services can already be included in C, I, or G; GDP measures domestic production. The subtraction removes foreign production rather than declaring imports intrinsically harmful.