Didn't insult ALL ETers, dude, just the google-challenged slackwits who have trouble thinking for themselves.
I gave you a formula:
P{T|S} = (1 - (q/p)^S)/(1 - (q/p)^T)
This formula answers all of your questions, except the special case where p = q, which is certain ruin for...