Transmission Problems? Ask a Mechanic for Answers ASAP
How many miles on the car?
Also, is it AWD or FWD?
To be honest since you are hearing the whining sound and it is having a issue with the shifting it seems likely you are going to need a transmission. The cvt transmission doesn't have many parts that can be serviced on it and in most cases when it fails it requires replacement.
That being said, the fluid level should be checked and tested to see if it should be replaced. This may be part of the reason for the issues you are having. The whining bit worries me because usually that's an indication of bearing failure
Do you need further assistance with this?