Solution:
Concept: For dealer Y, the input tax is the GST he pays when buying from X, and the output tax is the GST he collects when selling to Z. He deposits the difference.
Given: X sells to Y for ₹ 50,000; Y sells to Z at a profit of ₹ 20,000; rate of GST = 28% at each stage.
Step 1 — Find the input tax for Y.
X and Y are in the same city, Hapur (UP), so the sale is intra-state: CGST = 14% and SGST = 14% of ₹ 50,000.
CGST=10014×50,000=7,000
SGST equals CGST, so SGST = ₹ 7,000 too. Adding the two halves gives Y's input tax.
Input tax for Y=7,000+7,000=14,000
Step 2 — Find Y's selling price.
Y sells at his cost price plus his profit.
S.P. for Y=50,000+20,000=70,000
So Y sells for ₹ 70,000.
Step 3 — Find the output tax for Y.
Hapur is in UP and Calcutta is in West Bengal, so the sale is inter-state and the whole 28% is charged as IGST on ₹ 70,000.
Output tax for Y=10028×70,000=19,600
So Y's output tax is ₹ 19,600.
Step 4 — Part (i): output and input taxes.
From Steps 1 and 3, Y's output tax is ₹ 19,600 and his input tax is ₹ 14,000.
Step 5 — Part (ii): net GST payable by Y.
Y deposits the output tax minus the input tax.
Net GST payable=19,600−14,000=5,600
So Y pays ₹ 5,600.

Check: The net GST is the GST on Y's profit.
10028×20,000=5,600
Watch out: The input tax is the whole GST Y paid (CGST + SGST, ₹ 14,000), not just the CGST.
Therefore, (i) for Y, the output tax is ₹ 19,600 and the input tax is ₹ 14,000; (ii) the net GST payable by Y is ₹ 5,600.