When two separate murders are committed on the same night, Castle wagers Ryan and Esposito that he and Beckett will solve theirs first.