I think this all works, but I want to hear someone else's thoughts (in case my timing is way off)...
My plan is to arrive at SYD (ex CBR) on VA661 at 5:55pm and transfer to QF2217 departing at 6:45. This should give me more than half an hour to get sorted out (50 mins if everything is on time)...