x += 3 means that the value of x is increased with 3. So if x was 4 previously, then it is 4+3, i.e 7 now.
It is a shorter form than writing x = x+3
Many coding languages have = is used to set a value to a variable. But == is used for a comparison, e.g. in
if(x == 3){ do something }