If you arrive in Qatar on 10 Aug (for example), you can stay up to 9 September without any issue. And the sponsor can extend it for further 2 months (i.e. up to 9 November). However, it cannot extend further and you have to leave Country. Hope it is clear.