what resister values to use with a transister NOT gate?

ok, so the resister next to IN is 10k, and the other is 1k? and how did you come up with those numbers so I can do it by myself for the future :slight_smile: