In calculating the national income of a country x, the cost of both raw materials…