A fired-up Pat Cummins bagged five wickets and 10 in the match to earn Australia a nail-biting 79-run win in the second Test and clinch the series against a battling Pakistan Friday.