Erlang getting error ** 1: syntax error before: '->' **?

I have started some hands on in Erlang and I am getting : ** 1: syntax error before: '->' ** whenever i am declar...