Clunking noise in rear when shifting

I have a '96 RAV4 with 70,000 miles that produces a clunking noise in the rear of the car when I manually shift into 5th gear. There is also a soft grinding noise when I am moving in reverse. What might be causing these noises?