Using the double minus signs before and after the variable are both valid syntax.
On line one, the variable
a is declared and assigned the value 5.
On line two a is decremented using valid syntax so its value is now 4.
On line three a is decremented again using valid syntax so its value is now 3.
Happy coding