Original: Dostoevsky had to race against time, in order to finish on time both The Gambler and Crime and Punishment.
Simplified: Dostoevsky had to write very quickly to finish both The Gambler and Crime and Punishment.