Consider [k] flips of a fair coin. Let X be the random varia…

Consider flips of a fair coin. Let X be the random variable that is the total number of tails. Note that X can be any nonnegative integer from 0 to . Let Y be the random variable that is the number of heads in the last flip (can be 0 or 1). What is the probability  ?