To adjust GDP from market prices to factor cost
Add indirect taxes
Subtract subsidies
Deduct indirect taxes and deduct subsidies
Deduct indirect taxes and add subsidies
To adjust GDP from market prices to factor cost, indirect taxes need to be removed and subsidies added back on.
There is no difference between GDP at market price and GDP at factor cost in a two sector economy including household sector and producer sector.