i think you didn't read the question correctly its 50hz not 50khzYou can't build a sine wave at 50KHz by using PWM at 10 KHz.
Either that or your question is difficult to understand.
I have no idea what a "sine pwm" would even mean.If carrier signal frequency is 10khz and sine waveform frequency is 50hz then how to calculate duty cycle for sine pwm?