Some people use a rule to see how many hours a child
should sleep at night.
Subtract the child's age in years from 30,
then divide the result by 2.
Tim is 12 years old.
According to the formula, how many hours should he sleep for?