Tom drives for 3 days. On the second day he drives 2 km more than a quarter of the distance he drove on the first day. On the third day he drives 3 times as far as he did on the second day.

If he drove a total of 888 km, what distance did he drive on the first day?