The correct response to how scientists find the ages of rocks is:
They measure the amount of the decay of particular unstable atoms in a rock.
This method is known as radiometric dating, where scientists use the known decay rates of certain isotopes to determine the age of the rock.