Which lines in following Scala code lead to compilation errors?

Compilation Errors image