For the record, bite's way works, too. He is just calculating the odds that you DON'T get your card on the turn AND DON'T get your card on the river and subtracting that value from 1.

Rather than do all this messy math, just memorize this table