Still learning after years

I understand but what should I do instead?
If I put // in front of it I get 'AnalogWrite' was nit declared in this scope.