How do I change the rear window wiper motor out? I found a re-manufactured motor on 1997 Mitsubishi 3000GT SL

My rear window wiper motor has not worked for years on my car. Could not find one that did not cost me an arm & a leg until now. Just want to make sure I do everything right because don't want to mess the new one up. Thank U!!!! KC P.S. The motor is off a 1998 Mitsubishi 3000GT. It will still work on my 1997 Mitsubishi 3000GT SL?

Asked by for the 1997 Mitsubishi 3000GT SL