'Serial2' was not declared in the scope

I am getting an error in my code

my code is

plz can anyone help

(deleted)

Let me guess - you're trying to compile code for a Mega2560 for a Uno?