Exports-imports= GDP..............you are wrong....
GDP (Y) is a sum of Consumption (C), Investment (I), Government Spending (G) and Net Exports (X – M).
Y = C + I + G + (X − M)
where
G (government spending) is the sum of government expenditures on final goods and services. It includes salaries of public servants, purchase of weapons for the military, and any investment expenditure by a government. It does not include any transfer payments, such as social security or unemployment benefits.
X (exports) represents gross exports. GDP captures the amount a country produces, including goods and services produced for other nations' consumption, therefore exports are added.
M (imports) represents gross imports. Imports are subtracted since imported goods will be included in the terms G, I, or C, and must be deducted to avoid counting foreign supply as domestic.
A fully equivalent definition is that GDP (Y) is the sum of final consumption expenditure (FCE), gross capital formation (GCF), and
net exports (X – M).
Y = FCE + GCF+ (X − M)