US and Canada Dual taxation in Restricted Stock Units

I used to Live in the USA till June 2021 before moving to Canada. I am not a USA citizen but have SSN. I was on an H-1B visa in the USA (Seattle, WA) and also on a visa in Canada(Vancouver, BC). I got employer granted Restricted Stock Units (RSUs in USD) in the USA as part of my compensation, some of which got vested in October 2021 after I relocated to Canada. I selected "Sell to Cover taxes" for my vests with the broker. I noticed both the USA(Federal tax) and Canadian(Federal + Provincial) Governments withdrew taxes from my vest. My brokerage farm has my W-9 attached.
I believe Canada and US have tax treaties to avoid dual taxation. This year I need to file taxes in both USA and Canada. 
1. Does your product support my situation and help me file my taxes in both countries?
2. Can I expect to get back some money from dual taxation? 

3. Should I file W8-BEN instead of W-8 with the brokerage firm? Will that help from next time onwards?