Help needed now.. Why am i getting error codes

I have got no idea what im doing, but i just need help on how to fix this error.
It is for an accelerometer.

Please reply as soon as possible

UPDATE: what about this one (error2)

You appear to be missing some semicolons there.

You also have a floating brace } at the very beginning of the 2nd image.

In this language case matters so void is not the same as Void