1. Since there is an agreement in the case of engine failure, both of you are governed by its terms.
2. Refer to the agreement to find out if the seller is bound to incur the costs of repairing or not. If yes then send him a notice seeking such costs.
3. If he does not agree then you will have to file a civil suit. It was not prudent to buy a car which run so many kilo meters.