Answer:
GDP for an open economy from the spending approach follows this equation:
GDP = Consumption + Investment + Government Spending + Net Exports (Exports - Imports)
It can also be written as:
GDP = C + I + G + NX (X - N)
The balance of private consumption is simply equal to C, the balance of public spending is G, and the balance of the external sector is net exports or NX.