Look the saw over thoroughly and make sure nothing is damaged:
1. Is the fence straight
2. Does the table move easily
3. Are there damaged plastic pieces
4. Does anything appear bent?
5. Is there a blade on the saw and what condition is it in?
6. Yada, yada, yada
Through some careful observation and some playing with the moving parts you want to determine if the saw was just used or was it abused? If all it needs is a new motor that's relatively cheap, around $200. If however it also needs plastic guards, a new fence, linear bearings etc, that bill can start to approach $600 or more.
Don't forget it could also be the brushes just need to be changed out for around $50.
As already mentioned I'd also plug it in and see what happens...if the motor is toast the damage is already done. [smile] Does the motor turn slowly and is there a smell, then it's probably the motor.
Does the motor not rotate at all and only buzzes, then it's probably the brushes.