x*=5 is equivalent to x=x*5, where first it multiply the value of n with 5 and then assign/ overwrite the value of n by it.