Need help been stuck 2hours

Im trying to script in javascript and i was making a simple block script.
But when i was done with it this is what i got. I have’nt been able to fix it.
Can anyone help me at the moment. on line 3 it says it needs a semicolon but it has one.
Then on line 4 it says it needs a semicolon but it also has one.

Chane your - to =. Line 3 and line 4.

thanks ill try it

it worked