which of the following were provisions of the treaty of nanking

Answer:
British citizens were granted immunity from Chinese laws
The Chinese had to open five ports to foreign trade.
Explanation:
The Treaty of Nanking (1842) was the treaty that put an end to the first Opium War fought between the British Empire and the Qing dynasty of China. The terms on the treaty were too harsh on the defeated Qing dynasty because they obliged China to cede Hong Kong to England, to pay the British government over 20 million silver dollars for compensation and reparations for the cost of the war, to open the ports of Canton, Amoy, Ningpo, Foochow, and Shanghai to British for foreign trade, to establish fixed tariffs for the British, to give them a more favored status in China and to grant them immunity from Chinese laws.