OP, this isn't complicated but you got some incomplete info as to when the chain should be replaced. Change it based on actual wear, rather than mileage or age. You will have to measure it, either with a ruler or a chain checker gadget. Both have their proponents, Google it. Change your cassette when a new chain skips or otherwise acts up. Most people get two or three chains per cassette.