Read PWM duty from a pin and write PWM to a pin

Yeah. It takes that value of 198 which I can see in serial monitor as well. But what is wrong in there?
The semicolon should not be there or what?