How to solve radioactive dating problems