Arduino knock and servo coding

Can any body help we to see my mistakes here. My plan is when i knock on a piezo it will turn to 90 degrees but when i knock again it will turn to 0 degrees ( turn clockwise then turn anti clockwise). Thank you

You may not get much help posting code as a photo.
Best to read the top entry on how to use the forum.