No problem, that's what this place is for.
Your pedal has a stereo plug, so it sends signals over two wires. Polarity means (I guess) that the signals go to the wrong places. So, if you flip them (make the right go left and left go right), it might make the pedal work correctly.
The most simple way to do that is to get a plug or a cable that crosses the wires in between the pedal and keyboard. Ask in a music shop, maybe they carry something like that.
I don't really know how those things work, it's possible that you need a pedal made specifically by Yamaha. I have the FC4 pedal - it's worked with everything I plugged it in so far (as long as it was made by Yamaha

). It cost me around 10 Euros about 5 years ago.