The only way of not picking a red card after picking a blue or yellow card is to pick all the red cards first. The probability of doing this is q = 10!*35!/45! i.e. (10/45)*(9/44)*...*(1/36)
Hence, the probability of picking a red card after picking a blue or yellow card is p = 1 - q
I've assumed the question intends all the cards to be picked; that it doesn't just refer to the 1st and 2nd cards picked.