Answer: c. Country X
Step-by-step explanation:
Under the Citizenship approach to tax jurisdiction, income accrued will be taxed in the country the company is incorporated in as it is viewed as a "company citizen" of that country.
As such, the dividends in the question will be taxed in Country X which is where Company A was incorporated.