I am providing a wiring diagram that depicts a polarized wiring path using a polarized AC plug.
It might be helpful to also note that polarity does not matter with regard to the controller and the motor.
I hope you find it useful.
Don't attempt the techniques explained in this article if you don't have electrical experience or are not certified in electronics. Doing so may result in electrical shock and/or death. If you decide to act on these techniques, you are doing so at your own risk. It is recommended to have your work checked by a licensed electrician or certified electronics expert.