There are two components to your question:
1, You have rent out your "PPOR" for 9 months
Depending on the circumstance, you may be able to use the 6 years rule (aka the absence rule). The tax law (ITAA97) and the ATO recognises that individual circumstances change. They allow home owners to...