I lived half the year in two different provinces, how do I file my taxes?

I lived 6 months in Quebec and 5 month in BC in 2024, how do I file my taxes?