Answer:
The Journal entries are as follows:
(a) Sales A/c Dr. $2,700,000
To purchase / cost of sales $2,700,000
[to eliminate inter-company sales]
(b) Inventory (Cost of goods sold) A/c Dr. $487,500
To Inventory - Balance sheet $487,500
[to eliminate unrealized profit)in ending inventory]