In what type of condition is the rest of the car?
Does it have any rust damage?
And–perhaps most importantly–does it have an automatic transmission, or is it a manual shift car?
If it has an automatic transmission–and if the trans has not been serviced every 30k miles or so–then the trans is on its way to failure… soon. It would not make sense to spend money on repair of the engine of this 10 year old car if the trans will need to be overhauled/replaced in the very near future.