https://www.ato.gov.au/General/Capit...-you-move-out/
example towards the bottom explains fairly well when you look at the calculations.
seems for you it would go
1/10 years living
9/10 years no living in, minus 6 years under main residence exemption (not sure if support required)
leaving 3 years not exempt from CGT.
CGT apportioned over total life of ownership = CGT payable on 30% of total profit is my guess