Adam put all of his pencils in his
bookbag. The next day he gave away 5 of
them to his friends to use in class. Later
that week, half of his pencils were broken
at the bottom of his bag. He now has 12.
How many pencils did he start with?