I need assistance in generating 5 different frequencies like 10, 20, 30, 40, and 50Hz with 50% duty cycle respectively in the Arduino Uno PWM pins, as I'm new to programming having difficult to use PWM pins, can anyone guide.
A waveform that is set (stuck) at 50% duty cycle does not need PWM. It is just a square wave. Do your search for "arduino generate a square wave". Then you can use any pins.
The UNO only has three hardware timers for generating frequencies. At such low frequencies, you can use software and any pins you like. Start with the "BlinkWithoutDelay" example. For more precise timing you can switch to micros().