I had replaced a wiper motor for Camry, at that time, I bought a universal wiper motor from Pepboys for around $15. There were only two wires. You just cut the old wired, connect to the new wires with quick splices (picture at the end) and then mount motor on the car. It did not take me more than 20 minutes.
In youtube, check for how to replace Subaru Impreza 2015:
https://www.youtube.com/watch?v=G3yjFKDPnfQ
In Rockauto, you could choose according to car maker, brand, model, year, the engine size , for example (I just assume your car is not a turbo (around $65):
another web site: