Washing machine Motor controller

I am trying to replace the electronic controller of my washing machine with an Arduino. The motor has 3 wires, a Red, Yellow, and Blue. The Controller appeards to be an IRAM236-1067A. How is this motor wired, and what controller could I use to control it. Would it be feasible to repurpose the existing controller?

This is a part of the motor to give you an idea of what it looks like.
https://www.partsstop.com/whirlpool-w10579778-washer-motor-stator.html

I really appreciate any help you can give me.