Nest

Can anyone please help me with the VB part? I can’t seem to compile with online compiler…